function showStateInfo(sys)
%SHOWSTATEINFO  Prints details about state partition.
%
%   SHOWSTATEINFO(SYS) prints a summary of how the x or q vector is
%   partitioned into components, interfaces, and signals. The interface
%   and signal groups capture the couplings between system sub-components. 
%   The input SYS must be a single SPARSS or MECHSS model.
%
%   See also XSORT, MECHSS, SPARSS.

%   Copyright 2020 The MathWorks, Inc.
if nmodels(sys)>1
   error(message('Control:ltiobject:showStateInfo1'))
end
S = sys.StateInfo;
ltipack.util.showStateInfo(S)
