Page 1 of 1

Error using ==> irf Too many input arguments.

PostPosted: Sun Jul 18, 2010 11:48 pm
by Fontana
Hi everyone,

I am trying to run the mod file below and I get the 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 ==> CIA_Model_Walsh at 177
info = stoch_simul(var_list_);

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

The mod-file itself is an CIA-example from the Walsh textbook (Monetary Theory and Policy-).

Thank you for you help,

Fontana

Re: Error using ==> irf Too many input arguments.

PostPosted: Mon Jul 19, 2010 6:47 am
by jpfeifer
Hi,
your mod-file runs without problems on my machine (irf=1, i.e. for one period makes no sense, though). I would advise you to check, if you installed Dynare correctly and in particular if the Dynare path has the highest priority in the Matlab paths. It might be that there is another function called irf that has a higher priority, e.g. from the econometrics toolbox.

Re: Error using ==> irf Too many input arguments.

PostPosted: Mon Jul 19, 2010 5:27 pm
by Fontana
Thank you, that was exactly my problem. I have saved my file in a separate Dynare folder, it worked after I saved the file in the folder where I originally installed Dynare.

Thank you for you help.

Fontana

Re: Error using ==> irf Too many input arguments.

PostPosted: Thu Nov 20, 2014 12:47 pm
by bkfoot
Thank you.

This worked for me: remove all paths relating to the econometric toolbox.

Best,
BK