Creating and Manipulating Models Previous page   Next Page

Referencing Channels by Name

You can also extract subsystems using I/O group or channel names. For example, if sys has an input group named noise, consisting of channels two, four, and five, then

is equivalent to

Similarly, if pressure is the name assigned to an output channel of the LTI model sys, then

reassigns the subsystem from the first input of sys to the output labeled pressure.

You can reference a set of channels by input or output name by using a cell array of strings for the names. For example, if sys has one output channel named pressure and one named temperature, then these two output channels can be referenced using


Previous page  Referencing FRD Models Through Frequencies Resizing LTI Systems Next page

© 1994-2005 The MathWorks, Inc.