OpenSourceEcon / BootCamp2019

Repository of syllabi, lecture notes, Jupyter notebooks, code, and problem sets for OSE Lab Boot Camp 2019
85 stars 99 forks source link

Cannot run Dynare in MatLab #36

Closed danielkdimitrov closed 4 years ago

danielkdimitrov commented 4 years ago

I installed dynare, put the .mod file in a home directory but ML still doesn't recognize the command 'dynare'. Did anyone have similar issues?

>> dynare rbc_model --> Undefined function or variable 'dynare'.

danielkdimitrov commented 4 years ago

Ani helped me out, so in case s.o. has the same issue, after installation you have to add the Dynare path to your ML by typying

addpath C:\dynare\4.5.7\matlab

where instead of 4.5.5 it could be the version you installed. The put the .mod file you want to run in your working directory and you'll be fine. You can run the file with

dynare rbc_model.mod