| Control System Toolbox Function Reference | ![]() |
Quick access to state-space model data
Syntax
[a,b,c,d] = ssdata(sys) [a,b,c,d,Ts] = ssdata(sys)
Description
extracts the matrix (or multidimensional array) data [a,b,c,d] = ssdata(sys)
from the state-space model (LTI array) sys. If sys is a transfer function or zero-pole-gain model (LTI array), it is first converted to state space. See Table 11-16, "State-Space Model Properties," on page 11-195 for more information on the format of state-space model data.
[a,b,c,d,Ts] = ssdata(sys)
also returns the sample time Ts.
You can access the remaining LTI properties of sys with get or by direct referencing, for example,
sys.statename
See Also
dssdata Quick access to descriptor state-space data
get Get properties of LTI models
set Set model properties
ss Specify state-space models
tfdata Quick access to transfer function data
zpkdata Quick access to zero-pole-gain data
| ssbal | stack | ![]() |