fprintf: invalid stream number = -1 anomaly
Posted: Mon Jun 01, 2015 9:25 pm
Hello All,
I'm trying to do something of a ground-up build working towards replication of papers like Medina and Soto (2007) and Beidas-Strom and Poghosyan (2011).
I've gotten the deterministic form of most of the household consumption block from Beidas-Strom and Poghosyan (2011) to stop giving pre-processor errors, but now it's telling me that there's an error in the automatically-generated JamTest1.m Matlab file that Dynare creates:
I've attached both JamTest1.mod and JamTest1.m; I imagine the problem is in JamTest1.mod, but without knowing Dynare better I'm not sure where to look for my error or what the nature of the error is since it's not being caught by the preprocessor.
I'm using Octave 3.8.2 and Dynare 4.4.3.
Thank you in advance for your comments!
I'm trying to do something of a ground-up build working towards replication of papers like Medina and Soto (2007) and Beidas-Strom and Poghosyan (2011).
I've gotten the deterministic form of most of the household consumption block from Beidas-Strom and Poghosyan (2011) to stop giving pre-processor errors, but now it's telling me that there's an error in the automatically-generated JamTest1.m Matlab file that Dynare creates:
- Code: Select all
Starting Dynare (version 4.4.3).
Starting preprocessing of the model file ...
Found 4 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.
parse error near line 110 of file JamTest1.m
syntax error
>>> end;
^
error: called from:
error: c:\dynare\4.4.3\matlab\dynare.m at line 180, column 1
I've attached both JamTest1.mod and JamTest1.m; I imagine the problem is in JamTest1.mod, but without knowing Dynare better I'm not sure where to look for my error or what the nature of the error is since it's not being caught by the preprocessor.
I'm using Octave 3.8.2 and Dynare 4.4.3.
Thank you in advance for your comments!