Code running file.mod

Hi,
I was trying to run the attached RBC_q0.mod on Dynare 4.5.0 but i get the error message that dynare cannot run the file: Starting Dynare (version 4.5.0).
Starting preprocessing of the model file …
ERROR: Could not open file: RBC_q0.mod
So, i was tried to run this code on others versions of Dynare as 4.6.1 but the problem still occured.dataNZ_cubic_trend.m (16.8 KB)
Can you help me. Thanks.RBC_q0.mod (11.4 KB)

Did you see

Thank you jpfeifer
i saved the file.mod in the current folder but the problem still occured

Type

cd

(current directory) in the command window.

I guess your current folder is

C:\Users\user\Desktop\codes

But your file is located in

C:\Users\user\Desktop\codes\dsge_estimation

You can change directory via

cd 'C:\Users\user\Desktop\codes\dsge_estimation'
1 Like

Thank you for your help.