Dear developers,
I'd like to run a deterministic simulation of a neoclassical growth model with TFP shocks saved in an auxiliary file.
The reason is that the shocks depend on the calibration (the capital share and the depreciation parameters) and I'd like to automatize the process.
When I run the code with shocks manually included in the .mod file, the program works fine.
However, when I use "shocks(shocks_file=filename)" I get the error message: syntax error, unexpected '(', expecting ';'
I found another post with a similar problem but no solution.
I attach the three relevant files to run the code.
I'm using Dynare 4.2.0 on a Mac OS X.
Thanks,
AF