<< mexAtExit | MEX functions | mexCallMATLABWithTrap >> |
#include "mex.h" |
int mexCallMATLAB(int nlhs, mxArray *plhs[], int nrhs, mxArray *prhs[], const char *command_name); |
number of desired output arguments.
pointer to an array of mxArray (output).
number of desired input arguments.
pointer to an array of mxArray (input).
character string containing the name of the Nelson function called.
0 if successful, and a nonzero value if unsuccessful.
mexCallMATLAB calls an NELSON function.
If name detects an error, NELSON will terminate MEX and returns control to NELSON.
edit([modulepath('mex', 'tests'), '/test_mexCallMATLAB.m'])
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET