https://www.mathworks.com/help/econ/ssm.fevd.html
fevd - Generate forecast error variance decomposition (FEVD) of state-space model - MATLAB
The fevd function returns the forecast error variance decomposition (FEVD) of the measurement variables in a state-space model attributable to component-wise...
state space modelforecast errorvariance decompositionfevdgenerate