Changeset 760 for applications
- Timestamp:
- 01/05/10 22:19:49 (15 years ago)
- Location:
- applications/bdmtoolbox/mex
- Files:
-
- 2 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 -
applications/bdmtoolbox/mex/merger.cpp
r756 r760 145 145 output[0] = tmp; 146 146 } 147 if (n_output>1){ 148 Config C; 149 C.setAutoConvert(true); 150 UI::save(&(Merger->_Smp()),C.getRoot()); 151 output[1]= UImxArray::create_mxArray(C.getRoot()); 152 } 147 153 #endif 148 154 }