Question about findind a datafile


I am struggling with running a code.

I am wondering if the datafile for estimation needs to be in the same folder of mod file.

My datafile is in different folder from the folder of mod file. so I run dynare and got a message “makedataset: I can’t find a datafile (with allowed extension m, mat, csv, xls or xlsx)!”

Yes, your datafile for estimation of your DSGE model should be in your current folder in MATLAB besides your Dynare mod file. Altough your dynare DSGE file name must be different with your datafile name.

1 Like