Real time shock decomposition

Hi everyone,
I calibrated my model and I want to do shock decomposition of my forecasts using
realtime_shock_decomposition command. But I get this error:
Error using zeros
NaN and Inf not allowed.

Error in realtime_shock_decomposition (line 86)
zreal = zeros(endo_nbr,nshocks+2,options_.nobs+forecast_);

Error in structural_model_estimated_2 (line 787)
oo_ = realtime_shock_decomposition(M_,oo_,options_,var_list_,bayestopt_,estim_params_);

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

structural_model_estimated_2.mod (21.0 KB)
shock_decompos_data.xlsx (21.8 KB)

You need to set nobs.

Thank You.