Assignment has more non-singleton rhs dimensions [...]

When estimating a model I run into the error message below, which I do not understand - could anybody provide me with some information on this?

Thanks,
Jesper Linaa

??? Assignment has more non-singleton rhs dimensions than non-singleton
subscripts

Error in ==> set_prior at 42
estim_params_.var_endo(i,1) = strmatch(deblank(lgy_(estim_params_.var_endo(i,1),:)),deblank(options_.varobs),‘exact’);

Error in ==> dynare_estimation at 87
[xparam1,estim_params_,bayestopt_,lb,ub]=set_prior(estim_params_);

Error in ==> RoT at 613
dynare_estimation(var_list_);

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

It may be coming from you declaring a measurement error on a variable that isn’t observed.

If it isn’t the case, please send the model and the data.

Best

Michel