Mercurial > hg > octave-lyh
view examples/myhello.c @ 17350:091e4df179de
new function to help with debugging by parsing .m files without executing them
* oct-parse.in.yy (F__parse_file__): New function.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 28 Aug 2013 14:46:02 -0400 |
parents | be41c30bcb44 |
children |
line wrap: on
line source
#include "mex.h" void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { mexPrintf ("Hello, World!\n"); mexPrintf ("I have %d inputs and %d outputs\n", nrhs, nlhs); }