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.

thanks,
Ruthira.

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)
dynare_estimation_1(var_list,dname);
Error in RBC_Est (line 160)
dynare_estimation(var_list_);
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:

C:\Users\User\Documents\Matlab_Course\CompEcon2016\CEdemos\f1.m

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

best
Ruthira.

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,
Ruthira.