Specifications

Table Of Contents
2 LTI Models
2-30
Finally, you can also use the set command to obtain a listing of all settable
properties for a given LTI model type, along with valid values for these
properties. For the transfer function
sys created above
set(sys)
produces
num: Ny-by-Nu cell of row vectors (Nu = no. of inputs)
den: Ny-by-Nu cell of row vectors (Ny = no. of outputs)
Variable: [ 's' | 'p' | 'z' | 'z^-1' | 'q' ]
Ts: scalar
InputDelay: Nu-by-1 vector
OutputDelay: Ny-by-1 vector
ioDelay: Ny-by-Nu array (I/O delays)
InputName: Nu-by-1 cell array of strings
OutputName: Ny-by-1 cell array of strings
InputGroup: M-by-2 cell array if M input groups
OutputGroup: P-by-2 cell array if P output groups
Notes: array or cell array of strings
UserData: arbitrary
Accessing Property Values Using get
You access the property values of an LTI model sys with get. The syntax is
PropertyValue = get(sys,PropertyName)
where the string PropertyName is either the full property name, or any
abbreviation with enough characters to identify the property uniquely. For
example, typing
h = tf(100,[1 5 100],'inputname','voltage',...
'outputn','current',...
'notes','A simple circuit')
get(h,'notes')
produces
ans =
'A simple circuit'