annotate examples/helloworld.cc @ 14383:07c55bceca23
stable
Fix guarded_eval() subfunction in fminunc (bug #35534).
* fminunc.m: Fix guarded_eval() subfunction in fminunc (bug #35534).
author |
Olaf Till <olaf.till@uni-jena.de> |
date |
Wed, 15 Feb 2012 14:44:37 +0100 |
parents |
db1f49eaba6b |
children |
be41c30bcb44 |
rev |
line source |
6572
|
1 #include <octave/oct.h> |
|
2 |
|
3 DEFUN_DLD (helloworld, args, nargout, |
|
4 "Hello World Help String") |
|
5 { |
|
6 int nargin = args.length (); |
12174
|
7 octave_stdout << "Hello World has " << nargin |
6572
|
8 << " input arguments and " |
|
9 << nargout << " output arguments.\n"; |
|
10 return octave_value_list (); |
|
11 } |