<< mexCallMATLAB | MEX functions | mexext >> |
#include "mex.h" |
mxArray *mexCallMATLABWithTrap(int nlhs, mxArray *plhs[], int nrhs, mxArray *prhs[], const char *functionName); |
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.
NULL if no error occurred; otherwise, a pointer to an mxArray (MException object).
mexCallMATLABWithTrap calls an NELSON function and capture error.
If name detects an error, mexCallMATLABWithTrap returns an mxArray (MException object).
edit([modulepath('mex', 'tests'), '/test_mexCallMATLABWithTrap.m'])
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET