Problem with estimation in Dynare - Error Message

Dear All,

I am having issues when I try to estimate any model in Dynare using standard Bayesian estimation provided in Dynare. For instance with the simple example provided in Dynare guide/installation, ‘RBC_Est.mod’ which I attach together with data ‘simuldataRBC.m’, it is returning the following error message [which I copy below], would be grateful if someone could help.


Error using f1 (line 2)
Not enough input arguments.
Error in PlotPosteriorDistributions (line 135)
top1 = max(f1);
Error in dynare_estimation_1 (line 804)
oo_ = PlotPosteriorDistributions(estim_params_, M_, options_, bayestopt_, oo_);
Error in dynare_estimation (line 89)
Error in RBC_Est (line 160)
Error in dynare (line 180)
evalin(‘base’,fname) ;

simuldataRBC.m (141 KB)
RBC_Est.mod (797 Bytes)

This looks like a path conflict. Can you please type into the Matlab command window

and check whether there is a function with that name. If yes, make sure it is not accessed anymore.

thanks much for response, when I type which f1, it gives:


Can you please direct me as to how I can deny access to this file again.


Remove the path to the CompEcon toolbox from your Matlab path. For that, go to Home -> Set Path -> Remove in Matlab and delete the relevant folders there.

Dear Johannes,

thanks, I will just select it from setpath and remove it, hopefully it does the job.

thanks much again,