Hi! I’m using Matlab R2022a and dynare 5.1 version now.
I’m learning how to enter an external steady state m file.
So I was trying to run dynare example files with an external steady state m file such as example 3, and NK_baseline, but It didn’t work on my computer.
I checked the path of the files and it doesn’t have any problem.
Is it because of my version of dynare?
When I run NK_baseline.mod file, the error message says:
Warning: Some of the parameters have no value (gammma1, Rbar, Lambdax, LambdaYd) when using steady. If
these parameters are not initialized in a steadystate file or a steady_state_model-block, Dynare may
not be able to solve the model. Note that simul, perfect_foresight_setup, and perfect_foresight_solver
do not automatically call the steady state file.
Warning: Identifier ‘delta’ in the evaluated statement does not refer to the external function. In a
future release, using an identifier different to how it is used in the file will not be supported.
In NK_baseline_steadystate (line 39)
In evaluate_steady_state_file (line 49)
In evaluate_steady_state (line 254)
In steady_ (line 55)
In steady (line 80)
In NK_baseline.driver (line 452)
In dynare (line 281)
Check for incorrect argument data type or missing argument in call to function ‘isShapeOnXY’.
Error in - (line 858)
if ~isShapeOnXY(poly1)||~isShapeOnXY(poly2)
Error in NK_baseline_steadystate (line 66)
gammma1=mu_z*mu_I/betta-(1-delta);
Error in evaluate_steady_state_file (line 49)
[ys,params1,check] = h_steadystate(ys_init, exo_ss,M,options);
Error in evaluate_steady_state (line 254)
[ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M, options,steadystate_check_flag);
Error in steady_ (line 55)
[steady_state,params,info] = evaluate_steady_state(oo_.steady_state,M_,options_,oo_,~options_.steadystate.nocheck);
Error in steady (line 80)
[oo_.steady_state,M_.params,info] = steady_(M_,options_,oo_);
Error in NK_baseline.driver (line 452)
steady;
Error in dynare (line 281)
evalin(‘base’,[fname ‘.driver’]);
I attached the relevant files, Can anyone help me? Please.
Thanks in advance!
example3_steady_state_helper.m (374 Bytes)
NK_baseline.mod (10.6 KB)
NK_baseline_steadystate.m (4.7 KB)
example3.mod (2.7 KB)