Unrecognized function or variable 'constant_part'

I use estimation( …, mode_compute= 6,…) to get the mode file ‘mymodel_mode.mat’, then I change to use estimation( …, mode_compute= 0,mode_file=‘mymodel_mode.mat’,…). But there appears a message:

Unrecognized function or variable ‘constant_part’.

Error in store_smoother_results (line 112)
trend_constant_observables=constant_part+Trend;

Error in dynare_estimation_1 (line 559)
[oo_,yf]=store_smoother_results(M_,oo_,options_,bayestopt_,dataset_,dataset_info,atT,innov,measurement_error,updated_variables,ys,trend_coeff,aK,P,PK,decomp,Trend,state_uncertainty);

Error in dynare_estimation (line 105)
dynare_estimation_1(var_list,dname);

Error in chinausa.driver (line 608)
oo_recursive_=dynare_estimation(var_list_);

Error in dynare (line 293)
evalin(‘base’,[fname ‘.driver’]) ;

So, is it wrong to do this in my way? thank you for help check this issue.

  1. Which Dynare version are you using.
  2. Can you provide the codes to replicate the issue?

I use 4.6.1. I delete the code

prefilter=4

is not valid syntax. It should be

prefilter=1

Thank you. The problem is solved.