Hi jpfeifer,
Thanks for the response. I'm using a calibrated model, I shouldn't be using any data, right? The file "example1_calib_shock_decomp_data" is an empty mat file where the results are going to be stored. Is that right?
I tried using unstable version but still got an error:
Error using : (line 62)
dates::colon: init must precede !
Error in dseries (line 137)
ts.dates = init:init+(nobs(ts)-1);
Error in makedataset (line 103)
DynareDataset = dseries(datafile);
Error in dynare_estimation_init (line 542)
[dataset_, dataset_info, newdatainterfaceflag] = makedataset(options_, options_.dsge_var*options_.dsge_varlag, gsa_flag);
Error in evaluate_smoother (line 59)
[dataset_,dataset_info,xparam1, hh, M_, options_, oo_, estim_params_,bayestopt_] = dynare_estimation_init(var_list, M_.fname, [], M_,
options_, oo_, estim_params_, bayestopt_);
Error in shock_decomposition (line 67)
[oo,Smoothed_Variables_deviation_from_mean] = evaluate_smoother(parameter_set,varlist);
Error in example1 (line 179)
oo_ = shock_decomposition(M_,oo_,options_,var_list_);
Error in dynare (line 223)
evalin('base',fname) ;
I'm using Matlab_R2016a on a Mac OS X El Capitan
Thank you again,