I'm running a basic OLG model and want to report the results implied by different values of rho. I tried handling this with a macro-processor loop but I kept getting errors about too many equations for variables. So I did it instead with an Octave loop and the simulations run absolutely fine as they're supposed to.
However, I tried to do something like this:
- Code: Select all
for i = 1:4
...
f = ["reports" i ".txt"];
dynatype(f);
And all that happens is that Dynatype saves to a file called "f".
I'd be really grateful if anybody could explain what I'm doing wrong.
Best,
Mike