Page 1 of 1

Problem with RBC_Monop_JFV.mod

PostPosted: Sat Sep 04, 2010 2:27 pm
by sinclair
I am currently using Dynare 4.1.2. I have a problem for reproducing the following example gaved with the Dynare User Guide :RBC_Monop_JFV.mod. When I run Dynare with this program, I get the following error message:


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

Error in ==> stoch_simul at 130
y=irf(oo_.dr,cs(M_.exo_names_orig_ord,i), options_.irf, options_.drop, ...

Error in ==> RBC_Monop_JFV at 138
info = stoch_simul(var_list_);

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

Re: Problem with RBC_Monop_JFV.mod

PostPosted: Sun Sep 05, 2010 7:10 am
by jpfeifer
Check if your Matlab path contains the econometrics toolbox above the Dynare path. It also has a function called irf and usually leads to this error. If this is the case, move it below the Dynare path and everything should work.

Re: Problem with RBC_Monop_JFV.mod

PostPosted: Sun Sep 05, 2010 8:47 pm
by sinclair
Hi jpfeifer,

Thank you for your reply. I have done what you suggested and it worked fine. Thank you very much.

sinclair