Dear Everyone:

When I run the [dsgevar_forward_calibrate_lambda.mod ] file in dynare again,

there is a trouble that I don’t know how to solve it. it is coming up with the following

message:

??? Error using ==> eval

Undefined function or variable ‘mc’.

Error in ==> read_variables at 72

dyn_tmp_01 = eval(var_names_01(dyn_i_01,:));

Error in ==> initialize_dataset at 32

rawdata = read_variables(datafile,varobs,],xls.sheet,xls.range);

Error in ==> dynare_estimation_init at 347

dataset_=initialize_dataset(options_.datafile,options_.varobs,options_.first_obs,options_.nobs,transformation,options_.prefilter,xls);

Error in ==> dynare_estimation_1 at 59

[dataset_,xparam1,M_,options_,oo_,estim_params_,bayestopt_]=dynare_estimation_init(var_list_, dname, ], M_, options_, oo_, estim_params_, bayestopt_);

Error in ==> dynare_estimation at 70

dynare_estimation_1(var_list,dname);

Error in ==> dsgevar_forward_calibrate_lambda at 259

dynare_estimation(var_list_);

Error in ==> dynare at 120

evalin(‘base’,fname) ;

I am very confused,so I really hope someone can help me to explain what’s gone

wrong?

Thanks

Yun

the dsgevar_forward_calibrate_lambda.mod file attachment as follows:

dsgevar_forward_calibrate_lambda.mod (3.04 KB)