Changeset 885
- Timestamp:
- 03/29/10 23:01:38 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/mex/mex_function.h
r826 r885 21 21 mexCallMATLAB ( 1, &mxout, 1, &mxinp, fname.c_str() ); 22 22 23 bdm_assert( mxGetN(mxout)==(dimension()) || mxGetM(mxout)==(dimension()), "vector length mismatch");23 bdm_assert(int(mxGetN(mxout))==(dimension()) || int(mxGetM(mxout))==(dimension()), "vector length mismatch"); 24 24 vec tmp=mxArray2vec(mxout); 25 25 return tmp; 26 26 } 27 /*! 28 \code 29 function = 'matlab_function_name'; 30 \endcode 31 */ 27 32 void from_setting(const Setting &set){ 28 33 fnc::from_setting(set);