- Timestamp:
- 04/16/12 17:40:30 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/objects/ExternalResults/BoolExternalResult.cpp
r11936 r12011 185 185 } 186 186 /*}}}*/ 187 /*FUNCTION BoolExternalResult::SetMatlabField{{{1*/188 #if defined(_HAVE_MATLAB_) && defined(_SERIAL_)189 void BoolExternalResult::SetMatlabField(mxArray* dataref){190 191 char* name=NULL;192 this->GetResultName(&name);193 194 mxSetField( dataref, this->step-1, name,mxCreateDoubleScalar((double)value));195 mxSetField( dataref, this->step-1, "time",mxCreateDoubleScalar((double)this->time));196 mxSetField( dataref, this->step-1, "step",mxCreateDoubleScalar((double)this->step));197 }198 #endif199 /*}}}*/200 187 /*FUNCTION BoolExternalResult::GetStep{{{1*/ 201 188 int BoolExternalResult::GetStep(void){
Note:
See TracChangeset
for help on using the changeset viewer.