... | ... | @@ -8,7 +8,7 @@ We most strongly encourage you modify your own code to comply with the new versi |
|
|
|
|
|
## Changes related to Dynare internals
|
|
|
|
|
|
1. Dynare has phased out the use of global variables in `stoch_simul` and its related subfunctions like `simult_`, `irf`, and `discretionary_policy`. In case you looped over
|
|
|
1. Dynare has phased out the use of global variables in `stoch_simul` and its related subfunctions like `simult_`, `irf`, and `discretionary_policy` (see https://git.dynare.org/Dynare/dynare/commit/e043c60903dd0e5746feb8af25cd60f1dbcbe53f). In case you looped over
|
|
|
`stoch_simul` using a call to
|
|
|
```matlab
|
|
|
info = stoch_simul(var_list_);
|
... | ... | @@ -27,8 +27,8 @@ y_sim_one_shock = simult_(M_,options_,y0,oo_.dr,temp_shock_mat,options_.order); |
|
|
```
|
|
|
|
|
|
1. List of names have been converted from character arrays to cell arrays of strings. This affects `M_.endo_names`, `M_.exo_names`, `M_.param_names`, `oo_.var_list`, and `options_.varobs`. For that reason, you may have to replace round by curly brackets.
|
|
|
2. In addition, Dynare 4.6 has phased out the use of global variables in user-defined steady state files. Instead, the model structure `M_` and the options-structure `options_` are now passed as input arguments, while the parameter vector `params` has become an output argument.
|
|
|
3. Related to the previous two changes, user-defined steady state files need to be adjusted for i) the interface change related to globals and ii) for the reading out of variables and parameters to be compatible with the cell arrays. In case you are using legacy files, you will generally encounter the error message
|
|
|
2. In addition, Dynare 4.6 has phased out the use of global variables in user-defined steady state files (see https://git.dynare.org/Dynare/dynare/commit/0c01c31491d162d7317888040c8f76a9bfa06a01). Instead, the model structure `M_` and the options-structure `options_` are now passed as input arguments, while the parameter vector `params` has become an output argument.
|
|
|
3. Related to the previous three changes, user-defined steady state files need to be adjusted for i) the interface change related to globals and ii) for the reading out of variables and parameters to be compatible with the cell arrays. In case you are using legacy files, you will generally encounter the error message
|
|
|
|
|
|
> Error using Modelname_steadystate
|
|
|
> Too many input arguments.
|
... | ... | |