Changeset 154 for trunk/src/matlab/rpUnitsConvertStr.cc
- Timestamp:
- Jan 11, 2006, 3:55:15 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/matlab/rpUnitsConvertStr.cc
r135 r154 15 15 16 16 #include "RpMatlabInterface.h" 17 18 /**********************************************************************/ 19 // METHOD: [retStr,err] = rpUnitsConvertStr(fromVal,toUnitsName,showUnits) 20 /// Convert between RpUnits return a string value with or without units 21 /** 22 * Convert the value and units in the string @var{fromVal} to units specified 23 * in string @var{toUnitsName}. If @var{showUnits} is set to 1, then show the 24 * units in the returned string @var{retStr}, else leave the units off. 25 * The second return value @var{err} specifies whether there was an error 26 * during conversion. 27 * Error code, err=0 on success, anything else is failure. 28 */ 17 29 18 30 void mexFunction(int nlhs, mxArray *plhs[],
Note: See TracChangeset
for help on using the changeset viewer.