# HG changeset patch # User Rik # Date 1390583461 28800 # Node ID 877b82d73ed9337099fb4d4ef86dde02cd9ff6e4 # Parent d1e16bdb39581a5510df7bc4d2cf8043a2a8d42b mex_demo.c: Fix incorrect comments describing how to run example. * mex_demo.c: Fix incorrect comments describing how to run example. diff -r d1e16bdb3958 -r 877b82d73ed9 examples/mex_demo.c --- a/examples/mex_demo.c Fri Jan 24 09:09:48 2014 -0800 +++ b/examples/mex_demo.c Fri Jan 24 09:11:01 2014 -0800 @@ -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 //