Page 3 of 3

Re: Error!!!! evalin('base',fname) ;

PostPosted: Sun Feb 24, 2013 2:30 pm
by jum63
Hello
I am trying to run fixed labor of Ramsey model with tax.But I have a problem.
my MATLAB version is R2012b.

error is

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

Starting Dynare (version 4.3.2).
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
- order 2
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.

Error: Unexpected MATLAB operator.

Error in ==> dynare (line 120)
evalin('base',fname) ;

Can you help me to solve this problem?

thanks

Re: Error!!!! evalin('base',fname) ;

PostPosted: Mon Feb 25, 2013 1:33 pm
by jpfeifer
Why are there @ signs in you file?

Re: Error!!!! evalin('base',fname) ;

PostPosted: Thu Nov 06, 2014 11:04 am
by Nemo4t
Hello,

I am trying to run the attached file but I keep on receiving this error message:

??? Error using ==> sigma at 83
Not enough input arguments.

Error in ==> RBClevels2nd at 102
set_param_value('sigma',sigma)

Error in ==> dynare at 180
evalin('base',fname) ;

I am spending a lot of time on it, could you please provide any help with it?

Thank you.

Re: Error!!!! evalin('base',fname) ;

PostPosted: Thu Nov 06, 2014 11:09 am
by jpfeifer
Matlab does not know sigma and tries to call the function called sigma. Are you sure that the file you load actually contains a parameter named sigma?

Re: Error!!!! evalin('base',fname) ;

PostPosted: Thu Nov 06, 2014 11:38 am
by Nemo4t
Even if I give some value to sigma (0.07) and nu (3) it doesn’t work

Re: Error!!!! evalin('base',fname) ;

PostPosted: Thu Nov 06, 2014 11:55 am
by jpfeifer
The attached file works on my machine. Did you forget the semicolon at the end of the line?

Re: Error!!!! evalin('base',fname) ;

PostPosted: Thu Nov 06, 2014 12:30 pm
by Nemo4t
Great! I don't really know how you did it, but It works!

Tanks a lot!

Re: Error!!!! evalin('base',fname) ;

PostPosted: Mon Nov 10, 2014 10:22 am
by Nemo4t
On the same model I would like to display (and eventually manage) the time varing policy matrix.
I tried different solutions but I just couldn’t, can anyone help me with it?

Re: Error!!!! evalin('base',fname) ;

PostPosted: Mon Nov 10, 2014 4:48 pm
by jpfeifer
What do you mean with
time varing policy matrix

?

Re: Error!!!! evalin('base',fname) ;

PostPosted: Tue Nov 11, 2014 8:35 am
by Nemo4t
I mean the G3 matrix in the model 3rd order aproximated.

Re: Error!!!! evalin('base',fname) ;

PostPosted: Tue Nov 11, 2014 6:11 pm
by jpfeifer
Please open a new thread where you describe the exact problem you are facing.