User`s guide

Table Of Contents
LTI Properties
2-31
For example, you can specify the delay directly when you create the model, and
then use the
set command to assign InputName, OutputName,andNotes to
sys
.
sys = tf(1,[1 1],'Inputdelay',0.3);
set(sys,'inputname','energy','outputname','temperature',...
'notes','A simple heater model')
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
ioDelayMatrix: 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)