Shock decomposition

I estimated a DSGE model and did a shock decomposition of one of my endogenous variables. I would like to save the contribution of one of the shocks to the endogenous variable as a vector. But matlab saves it as text.

This is the command I am executing: pi_decom=oo_.shock_decomposition(24,11,:slight_smile:

That is: variable 24, shock 11, through each moment of time.

Thanks in advance!

What do you mean? Matlab displays the result as text in the command windows, but it is saved as a variable. Or is the problem that you have a three-dimensional array? In that case use