Error using ==> evalin Undefined function or variable 'examp
Posted: Fri Sep 28, 2012 3:59 pm
Help!
I am new to Dynare. When I try to run examples in C:\Program Files\dynare\4.3.0\examples, matlab report errors as shown below. I have try other sample mod files in the floder but have same problem. I try both Matlab7.8.0.347 R2009a and Matlab7.14.0.739 R2012a, also try samples in Dynare 4.2.5, but in all case the same erros appear. Please help. Thanks very much.
This is the error reported:
>> dynare example1.mod
Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
Starting Dynare (version 4.2.5).
Starting preprocessing of the model file ...
Found 6 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
- order 2
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.
??? Error using ==> evalin
Undefined function or variable 'example1'.
Error in ==> dynare at 120
evalin('base',fname) ;
I am new to Dynare. When I try to run examples in C:\Program Files\dynare\4.3.0\examples, matlab report errors as shown below. I have try other sample mod files in the floder but have same problem. I try both Matlab7.8.0.347 R2009a and Matlab7.14.0.739 R2012a, also try samples in Dynare 4.2.5, but in all case the same erros appear. Please help. Thanks very much.
This is the error reported:
>> dynare example1.mod
Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
Starting Dynare (version 4.2.5).
Starting preprocessing of the model file ...
Found 6 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
- order 2
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.
??? Error using ==> evalin
Undefined function or variable 'example1'.
Error in ==> dynare at 120
evalin('base',fname) ;