Changeset 885 for library/bdm/mex

Show
Ignore:
Timestamp:
03/29/10 23:01:38 (14 years ago)
Author:
smidl
Message:

doc + compilation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/mex/mex_function.h

    r826 r885  
    2121                                mexCallMATLAB ( 1, &mxout, 1, &mxinp, fname.c_str() ); 
    2222                                 
    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"); 
    2424                                vec tmp=mxArray2vec(mxout); 
    2525                                return tmp; 
    2626                        } 
     27                        /*!  
     28                        \code 
     29                        function = 'matlab_function_name'; 
     30                        \endcode 
     31                        */ 
    2732                        void from_setting(const Setting &set){ 
    2833                                fnc::from_setting(set);