Stores the status of a deterministic simulation using bytecode in oo_.deterministic_simulation.status

time-shift
Ferhat Mihoubi 2013-01-18 17:05:10 +01:00
parent fb6762a972
commit af6bc73695
1 changed files with 5 additions and 0 deletions

View File

@ -82,6 +82,11 @@ options_.scalv= 1 ;
if(options_.block)
if(options_.bytecode)
[info, oo_.endo_simul] = bytecode('dynamic');
if info == 1
oo_.deterministic_simulation.status = 0;
else
oo_.deterministic_simulation.status = 1;
end;
mexErrCheck('bytecode', info);
else
eval([M_.fname '_dynamic']);