view examples/helloworld.cc @ 17503:cff399332a7f

meshgrid.m: Overhaul function. * scripts/plot/meshgrid.m: Redo docstring and add example and comparison to ndgrid. Put input validation first. Add %!error blocks for input validation.
author Rik <rik@octave.org>
date Wed, 25 Sep 2013 12:37:53 -0700
parents be41c30bcb44
children
line wrap: on
line source

#include <octave/oct.h>

DEFUN_DLD (helloworld, args, nargout,
  "Hello World Help String")
{
  int nargin = args.length ();

  octave_stdout << "Hello World has "
                << nargin << " input arguments and "
                << nargout << " output arguments.\n";

  return octave_value_list ();
}