User`s guide

Table Of Contents
2 LTI Models
2-30
Setting LTI Properties
There are three ways to specify LTI property values:
You can set properties when creating LTI models with
tf, zpk, ss,orfrd.
You can set or modify the properties of an existing LTI model with
set.
You can also set property values using structure-like assignments.
This section discusses the first two options. See “Direct Property Referencing”
on page 2-33 for details on the third option.
The function
set for LTI objects follows the same syntax as its Handle
Graphics counterpart. Specifically, each property is updated by a pair of
arguments
PropertyName,PropertyValue
where
PropertyName is a string specifying the property name. You can type the
property name without regard for the case (upper or lower) of the letters in
the name. Actually, you need only type any abbreviation of the property
namethat uniquelyidentifiesthe property.For example,
'user' issufficient
to refer to the
Userdata property.
PropertyValue is the valueto assign to theproperty (see set on page 11-193
for details on admissible property values).
As an illustration, consider the following simple SISO model for a heating
system with an input delay of 0.3 seconds, an input called “energy,” and an
output called “temperature.”
Figure 2-1: A Simple Heater Model
You can use a TF object to represent this delay system, and specify the time
delay, the input and output names, and the model history by setting the
corresponding LTI properties
. You can either set these properties directly
when you create the LTI model with
tf,orbyusingtheset command.
1
s 1+
------------
e
0.3s
delay
energy
temperature