Changeset 1690 for trunk/lang/matlab
- Timestamp:
- Apr 5, 2010, 9:30:27 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lang/matlab/RpMatlabInterface.cc
r737 r1690 55 55 56 56 /* Input must be a row vector. */ 57 if ( (mxGetM(prhs)) != 1) 57 if ( (mxGetM(prhs) == 0) && (mxGetN(prhs) == 0)) { 58 // do nothin, accept empty strings 59 } else if ( (mxGetM(prhs)) != 1) { 58 60 mexErrMsgTxt("Input must be a row vector."); 61 } 59 62 60 63 /* Get the length of the input string. */
Note: See TracChangeset
for help on using the changeset viewer.