Ireland example showing irf

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

[quote]??? 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

Error in ==> dynare at 26
evalin(‘base’,fname) ;[/quote]

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

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

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


Hi Stephane,
Thank you very much for your reply.
I fixed it.
Best regards,