Page 1 of 1

Please help!! problem about irf function

PostPosted: Mon May 16, 2011 11:53 am
by iloveshjtl
I have a problem as below.
When I tried the same options(irf etc), it worked well but I'm suffering the problems and I don't know what the problem is.

I attached the .mod file and data
Please let me know the answer
Thanks a lot!!

??? Attempt to execute SCRIPT irf as a function.

Error in ==> <a href="error:C:\dynare\4.2.0\matlab\PosteriorIRF_core1.m,166,1">PosteriorIRF_core1 at 166</a>
y=irf(dr,SS(M_.exo_names_orig_ord,i), options_.irf, options_.drop,options_.replic,options_.order);

Error in ==> <a href="error:C:\dynare\4.2.0\matlab\PosteriorIRF.m,199,1">PosteriorIRF at 199</a>
[fout] = PosteriorIRF_core1(localVars,1,B,0);

Error in ==> <a href="error:C:\dynare\4.2.0\matlab\dynare_estimation_1.m,1129,1">dynare_estimation_1 at 1129</a>
PosteriorIRF('posterior');

Error in ==> <a href="error:C:\dynare\4.2.0\matlab\dynare_estimation.m,62,1">dynare_estimation at 62</a>
dynare_estimation_1(var_list,varargin{:});

Error in ==> <a href="error:C:\dynare\4.2.0\matlab\kr_smet.m,268,1">kr_smet at 268</a>
dynare_estimation(var_list_);

Error in ==> <a href="error:C:\dynare\4.2.0\matlab\dynare.m,132,1">dynare at 132</a>
evalin('base',fname) ;

Re: Please help!! problem about irf function

PostPosted: Wed Jun 08, 2011 10:04 am
by SébastienVillemot
You probably have a file called "irf.m" in your working directory, which conflicts with an internal Dynare file. Rename your file and the problem should be fixed.