Hi, I have a very simple question in macro processing syntax.
Suppose in the mod file I use @#define ramsey = 1, then I use
@#if ramsey
equation 1
@#else
equation 2
@#endif
Is there a way that I can define @#define ramsey = parameter, in which parameter can be controlled in a matlab file and then passed to the mod file?
Thanks a lot!
Frank
Is your idea to perform multiple runs of dynare with different equations depending on the value of parameter? If so, you can define ramsey when you invoke dynare:
alex
September 15, 2013, 3:43pm
3
Dear Houtan,
Related to your answer, how would you include multiple values of the parameter, say for two variables ramsey1 and ramsey2?
Best,
Alex
alex
September 17, 2013, 8:18am
5
Houtan,
it does not work, in the corresponding line Matlab says that “A quoted string is unterminated”
Alex