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