Page 1 of 1

Ireland example showing irf

PostPosted: Mon Jan 15, 2007 6:23 pm
by JorgeFornero
Dear Michel,
I made a version of Ireland estimation example that I took from the snapshot folder. IRF can not be computed and the message is
??? Error using ==> irf
Too many input arguments.

Error in ==> stoch_simul at 134
y=irf(dr_,cs(lgx_orig_ord_,i), options_.irf, options_.drop, ...

Error in ==> ireland_simu at 160
info=stoch_simul(var_list_);

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

Do you have any suggestion? I could not see any problem yet.
Thank you very much in advance.

Re: Ireland example showing irf

PostPosted: Tue Jan 16, 2007 4:13 pm
by StephaneAdjemian
Hi Jorge,

I am unable to reproduce your bug with the latest version of dynare v3.

Inspecting your error message, I believe that the problem is that you have another function irf.m (distributed with Uhlig's toolkit?) on the matlab path. You have to make sure that the dynare's irf function preceed the other function in the matlab path. You just have to type

Code: Select all
which irf


at the matlab's prompt to check that you are effectively calling the irf.m distributed with dynare.

Best,
Stéphane.

PostPosted: Tue Jan 16, 2007 5:12 pm
by JorgeFornero
Hi Stephane,
Thank you very much for your reply.
I fixed it.
Best regards,