@lti/ssdata
Access state-space model data. Argument sys is not limited to state-space models. If sys is not a state-space model, it is converted automatically.
Inputs
Any type of LTI model.
Outputs
State matrix (n-by-n).
Input matrix (n-by-m).
Measurement matrix (p-by-n).
Feedthrough matrix (p-by-m).
Sampling time in seconds. If sys is a continuous-time model, a zero is returned.
Note on compatibility
If sys is given by an input-output description, like, e.g.,
a transfer function, the resulting state-space model has a
different form than the one provided by Matlab,
see ss
for details.
Source Code: @lti/ssdata