Changeset 760 for applications/bdmtoolbox/mex/estimator.cpp
- Timestamp:
- 01/05/10 22:19:49 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/mex/estimator.cpp
r756 r760 122 122 int Ndat=10; 123 123 if ( Cfg.exists ( "experiment" ) ) { 124 if ( Cfg.getRoot().lookupValue ( "experiment.ndat",Ndat) ) {124 if ( UI::get(Ndat, Cfg.getRoot()["experiment"],"ndat" ) ) { 125 125 bdm_assert ( Ndat<=Ds->max_length(), "Data source has less data then required" ); 126 126 }; … … 209 209 if ( n_output<1 ) mexErrMsgTxt ( "Wrong number of output variables!" ); 210 210 output[0] = mL->toCell(); 211 if (n_output>1) 211 if (n_output>1) { 212 mL->_setting_conf().setAutoConvert(true); 212 213 output[1]= UImxArray::create_mxArray(mL->_setting_conf().getRoot()); 214 } 213 215 } 214 216 #endif