/* hello.c. A short mexFunction. MATLAB Primer, 6th Edition Kermit Sigmon and Timothy A. Davis Section 9.1, page 47. */ #include "mex.h" void mexFunction ( int nlhs, mxArray *plhs [ ], int nrhs, const mxArray *prhs [ ] ) { mexPrintf ("hello world\n") ; }