Changeset 165 for trunk/src/matlab
- Timestamp:
- Jan 31, 2006, 2:49:49 PM (19 years ago)
- Location:
- trunk/src/matlab
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/matlab/rpLibGetDouble.cc
r162 r165 3 3 * INTERFACE: Matlab Rappture Library Source 4 4 * 5 * [ nodeHandle,err] = rpLibGetDouble(libHandle,path)5 * [retVal,err] = rpLibGetDouble(libHandle,path) 6 6 * 7 7 * ====================================================================== … … 17 17 18 18 /**********************************************************************/ 19 // METHOD: [ret Str,err] = rpLibGetDouble(libHandle,path)19 // METHOD: [retVal,err] = rpLibGetDouble(libHandle,path) 20 20 /// Query the value of a node. 21 21 /** -
trunk/src/matlab/rpUnitsGetBasis.cc
r154 r165 52 52 myBasis = myUnit->getBasis(); 53 53 if (myBasis) { 54 // there was a basis, store it an return 54 55 retHandle = storeObject_UnitsStr(myBasis->getUnitsName()); 55 56 if (retHandle) { 56 57 err = 0; 57 58 } 59 } 60 else { 61 // there was no basis for this unit 62 // return negative handle and set err = 0 63 retHandle = -1; 64 err = 0; 58 65 } 59 66 } -
trunk/src/matlab/rpUnitsMakeMetric.cc
r154 r165 49 49 retVal = RpUnits::makeMetric(basis); 50 50 } 51 else { 52 std::string errMsg = "Error while retrieving basis handle.\n"; 53 errMsg += "Possibly invalid handle?\n"; 54 mexErrMsgTxt(errMsg.c_str()); 55 } 51 56 } 52 57
Note: See TracChangeset
for help on using the changeset viewer.