Historical Decomposition

Hi, everyone

I have a question about the command “shock_decomposition”.
I tried to use it with Matlab, but there is a long error showed below. (however, it worked with Octave)

**Error describe_missing_data
Too many input arguments.

Error evaluate_smoother (line 117)
[data_index,number_of_observations,no_more_missing_observations] =

Error shock_decomposition (line 60)
oo = evaluate_smoother(parameter_set);

Error usmodel (line 416)
oo_ = shock_decomposition(M_,oo_,options_,var_list_);

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

How can I solve this error with Matlab?

usmodel.mod (11.5 KB)