Changeset 883
- Timestamp:
- 03/29/10 23:01:19 (15 years ago)
- Files:
-
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/mex/arena.cpp
r801 r883 58 58 59 59 //DBG 60 //Cfg.writeFile ( "arena.cfg" );60 Cfg.writeFile ( "arena.cfg" ); 61 61 62 62 #else -
applications/bdmtoolbox/mex/controlloop.cpp
r801 r883 100 100 101 101 //DBG 102 //Cfg.writeFile ( "controlloop.cfg" );102 Cfg.writeFile ( "controlloop.cfg" ); 103 103 104 104 #else … … 230 230 if ( n_output<1 ) mexErrMsgTxt ( "Wrong number of output variables!" ); 231 231 output[0] = mL->toCell(); 232 if (n_output>1) { 233 mL->_setting_conf().setAutoConvert(true); 234 output[1]= UImxArray::create_mxArray(mL->_setting_conf().getRoot()); 235 } 232 236 } 233 237 #endif -
applications/bdmtoolbox/tutorial/mpdm/dist_ctrl_acc.m
r871 r883 49 49 P1.merger.method = 'geometric'; 50 50 %P1.merger.dbg_file = 'mp.it'; 51 P1.merger.ncoms = 20;51 P1.merger.ncoms = 1; 52 52 P1.merger.stop_niter= 5; 53 53 P1.neighbours = {};%{'P2'}; -
library/bdm/design/arx_ctrl.h
r763 r883 66 66 state ( state.length() - 1 ) = 1; 67 67 } 68 return lq.ctrlaction ( state, cond.right ( Stsp->_B().cols() ) ); 68 vec tmp=lq.ctrlaction ( state, cond.right ( Stsp->_B().cols() ) ); 69 if (!isfinite(sum(tmp))) { 70 cout << "infinite ctrl action"; 71 } 72 return tmp; 69 73 } 70 74 //! -
library/bdm/estim/arx.cpp
r878 r883 216 216 void ARX::from_setting ( const Setting &set ) { 217 217 BMEF::from_setting(set); 218 218 219 shared_ptr<RV> yrv_ = UI::build<RV> ( set, "rv", UI::compulsory ); 219 220 shared_ptr<RV> rrv = UI::build<RV> ( set, "rgr", UI::compulsory );