Got these error message at the stage of reading datafile


I got the following error messages at the stage of reading a .mat datafile. I am very sure the variables in the datafile matches with the varobs in my code… What does it mean “Subscripted assignment dimension mismatch.” ???

Thanks in advance for anyone who might be of help…

Here are the error messages:

Subscripted assignment dimension mismatch.

Error in read_variables (line 68)
dyn_data_01(:,dyn_i_01) = dyn_tmp_01;

Error in dynare_estimation_init (line 289)
rawdata = read_variables(options_.datafile,options_.varobs,],options_.xls_sheet,options_.xls_range);

Error in dynare_estimation_1 (line 37)
[data,rawdata,xparam1] = dynare_estimation_init(var_list_);

Error in dynare_estimation (line 62)

Error in parameterestimation (line 1158)

Error in dynare (line 120)
evalin(‘base’,fname) ;

Could you please post data and mod-file.