Creating and Manipulating Models    

Setting LTI Properties

There are three ways to specify LTI property values:

This section discusses the first two options. See Direct Property Referencing 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

where

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 1-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, or by using the set command.

For example, you can specify the delay directly when you create the model, and then use the set command to assign InputName, OutputName, and Notes to sys.

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

produces


  Model-Specific Properties Accessing Property Values Using get