Problem with RBC_Monop_JFV.mod

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) ;
RBC_Monop_JFV.mod (767 Bytes)

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.

Hi jpfeifer,

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