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

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

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

Postby jum63 » Sun Feb 24, 2013 2:30 pm

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
Attachments
unt.mod
(667 Bytes) Downloaded 197 times
jum63
 
Posts: 1
Joined: Sun Feb 24, 2013 3:22 am

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

Postby jpfeifer » Mon Feb 25, 2013 1:33 pm

Why are there @ signs in you file?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

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

Postby Nemo4t » Thu Nov 06, 2014 11:04 am

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.
Attachments
RBClevels2nd.mod
(629 Bytes) Downloaded 177 times
Nemo4t
 
Posts: 9
Joined: Thu Nov 06, 2014 10:55 am

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

Postby jpfeifer » Thu Nov 06, 2014 11:09 am

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?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

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

Postby Nemo4t » Thu Nov 06, 2014 11:38 am

Even if I give some value to sigma (0.07) and nu (3) it doesn’t work
Nemo4t
 
Posts: 9
Joined: Thu Nov 06, 2014 10:55 am

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

Postby jpfeifer » Thu Nov 06, 2014 11:55 am

The attached file works on my machine. Did you forget the semicolon at the end of the line?
Attachments
RBClevels2nd.mod
(588 Bytes) Downloaded 178 times
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

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

Postby Nemo4t » Thu Nov 06, 2014 12:30 pm

Great! I don't really know how you did it, but It works!

Tanks a lot!
Nemo4t
 
Posts: 9
Joined: Thu Nov 06, 2014 10:55 am

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

Postby Nemo4t » Mon Nov 10, 2014 10:22 am

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?
Nemo4t
 
Posts: 9
Joined: Thu Nov 06, 2014 10:55 am

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

Postby jpfeifer » Mon Nov 10, 2014 4:48 pm

What do you mean with
time varing policy matrix

?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

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

Postby Nemo4t » Tue Nov 11, 2014 8:35 am

I mean the G3 matrix in the model 3rd order aproximated.
Nemo4t
 
Posts: 9
Joined: Thu Nov 06, 2014 10:55 am

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

Postby jpfeifer » Tue Nov 11, 2014 6:11 pm

Please open a new thread where you describe the exact problem you are facing.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Previous

Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests

cron