diff --git a/matlab/perfect-foresight-models/private/simulation_core.m b/matlab/perfect-foresight-models/private/simulation_core.m index 883009d8a..6a7867b5f 100644 --- a/matlab/perfect-foresight-models/private/simulation_core.m +++ b/matlab/perfect-foresight-models/private/simulation_core.m @@ -33,6 +33,7 @@ if options_.block end mexErrCheck('bytecode', info); else + global oo_ options_ eval([M_.fname '_dynamic']); end else