Dear all,
I'm using Dynare to estimate a DSGE model (An and Schorfheide (2007), Bayesian Analysis of DSGE Models). The following error message shows up:
??? Subscript indices must either be real positive integers or logicals.
Error in ==> set_prior at 135
bayestopt_.name =
cellstr(strvcat(char(bayestopt_.name),M_.param_names(estim_params_.param_vals(:,1),:)));
Error in ==> dynare_estimation_1 at 83
[xparam1,estim_params_,bayestopt_,lb,ub,M_] = set_prior(estim_params_,M_,options_);
Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});
Error in ==> Project at 136
dynare_estimation(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;
Do you have any suggestions? Thanks a lot.