ramsey policy & matlab

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.

ramsey policy & matlab

Postby ivan_lozev » Thu Apr 16, 2009 4:50 am

Hi,
I tried the wiki example for dynare 4.0.3 in Matlab and, amazingly, I again received an error message, HOWEVER different from the one in Octave. The output I received is as follows:
>> dynare ramsey

Configuring Dynare ...
[mex] Generalized QZ.
[m] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.

Starting Dynare ...
Starting preprocessing of the model file ...
2 equation(s) found
Processing derivation ...
Processing Order 1... done
Processing Order 2... done
1 equation(s) found
Processing derivation ...
Processing Order 1... done
Processing Order 2... done
Processing outputs ...
Preprocessing completed.
Starting Matlab computing ...

??? Error using ==> ramsey_static
Too many input arguments.

Error in ==> dynare_solve at 72
fvec = feval(func,x,varargin{:});

Error in ==> dr1 at 83
oo_.steady_state =
dynare_solve('ramsey_static',oo_.steady_state,0,M_,options_,oo_,it_);

Error in ==> resol at 101
[dr,info,M_,options_,oo_] = dr1(dr,check_flag,M_,options_,oo_);

Error in ==> stoch_simul at 40
[oo_.dr, info] = resol(oo_.steady_state,0);

Error in ==> ramsey_policy at 25
info = stoch_simul(var_list);

Error in ==> ramsey at 100
ramsey_policy(var_list_);

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

So, again, if somebody has a clue how to resolve the problem, please post it!
Thanks in advance,
Ivan
ivan_lozev
 
Posts: 9
Joined: Wed Apr 15, 2009 12:28 pm

Re: ramsey policy & matlab

Postby MichelJuillard » Sat Apr 18, 2009 2:31 pm

Did you use the same *.mod file as when you were trying it with Octave.
If not, please upload the *.mod file

Thanks

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests