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)

Error in dynare_estimation_1 (line 559)

Error in dynare_estimation (line 105)

Error in chinausa.driver (line 608)

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


is not valid syntax. It should be


Thank you. The problem is solved.