phd_sq
October 26, 2022, 5:18am
1
logRBC_capital.mod (1.9 KB)
same code, same dir, but only different is file name. but error occurs! How to fix it?
dynare rbc.mod
Starting Dynare (version 5.2).
Calling Dynare with arguments: none
Starting preprocessing of the model file …
Found 10 equation(s).
Evaluating expressions…done
Computing static model derivatives (order 1).
Computing dynamic model derivatives (order 2).
Processing outputs …
done
Preprocessing completed.
Error using print_info
The steadystate file did not compute the steady state
Error in check (line 48)
print_info(info, 0, options);
Error in rbc.driver (line 247)
oo_.dr.eigval = check(M_,options_,oo_);
Error in dynare (line 281)
evalin(‘base’,[fname ‘.driver’]);
VS19
October 26, 2022, 5:59am
2
Works perfectly on my system using Dynare 5.2
and MATLAB 2022a
. Which Dynare
and MATLAB
versions are you using?
phd_sq
October 26, 2022, 7:55am
3
Dynare 5.2
and` MATLAB 2022a
But If filename is changed, error occurs.
logRBC_capital.mod (OK)
rbc.mod (Error)
Same code, I just modified file name.
Do you already have rbc_steady_state.m
in the folder?
VS19
October 26, 2022, 11:02pm
5
I changed the file name to rbc.mod
and was able to run it. I did this twice. It throws up no errors at all.
Maybe you can try to delete the files produted by the last time of running and input ‘clear’ in matlab before the new running.
Sometimes the last running result will influence the next time of running.