I am trying to write a MATLAB script which calls dynare++. However, I am running into some installation and execution issues.
When running the script I get the following error message:
Error using dynare_simul_
dynare_simul_ must have at exactly 12 input parameters and 1 output argument.Error in dynare_simul (line 171)
[err,r]=dynare_simul_(order-1,nstat,npred,nboth,nforw,…Error in mod_script (line 109)
out = dynare_simul(‘crra.mat’, shocks);
Running dynare++ through Terminal with a mod file works fine. But running dynare++ in a Matlab script results in the above issue.
Any ideas?