root/applications/bdmtoolbox/mex/my_isobj.cpp
@
933
Revision 933, 245 bytes (checked in by smidl, 14 years ago) |
---|
Rev | Line | |
---|---|---|
[925] | 1 | #ifdef MEX |
2 | #include <mex/mex_parser.h> | |
3 | ||
4 | void mexFunction ( int n_output, mxArray *output[], int n_input, const mxArray *input[] ) { | |
[933] | 5 | mxArray * m=(mxArray *)input[0]; |
6 | printf("%d",mxIsObject(m)); | |
7 | mexCallMATLAB(0,0,1, &m, "validate"); | |
8 | ||
[925] | 9 | } |
10 | #endif |
Note: See TracBrowser
for help on using the browser.