Mercurial > hg > octave-nkf
changeset 18436:877b82d73ed9 stable
mex_demo.c: Fix incorrect comments describing how to run example.
* mex_demo.c: Fix incorrect comments describing how to run example.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 24 Jan 2014 09:11:01 -0800 |
parents | d1e16bdb3958 |
children | 4b32677b6229 |
files | examples/mex_demo.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/mex_demo.c +++ b/examples/mex_demo.c @@ -10,13 +10,13 @@ // // To compile this file, type the command // -// mkoctfile mex_demo.c +// mkoctfile --mex mex_demo.c // // from within Octave or from the shell prompt. This will create a file // called mex_demo.mex that can be loaded by Octave. To test the mex_demo.mex // file, start Octave and type the command // -// [d] = mex_demo ("easy as", 1, 2, 3) +// d = mex_demo ("easy as", 1, 2, 3) // // at the Octave prompt. Octave should respond by printing //