Simulink Control Design™ - MathWorks

(Tuis.) #1

Permanent Openings


Permanent openings, used by the slLinearizer and slTuner interfaces, identify
locations within a model where the software breaks the signal flow. The software enforces
these openings for linearization and tuning. Use permanent openings to isolate a specific
model component. Suppose that you have a large-scale model capturing aircraft dynamics
and you want to perform linear analysis on the airframe only. You can use permanent
openings to exclude all other components of the model. Another example is when you
have cascaded loops within your model and you want to analyze a specific loop.

Location refers to a specific block output port within a model. For convenience, you can
use the name of the signal that originates from this port to refer to an opening.

You can add permanent openings to an slLinearizer or slTuner interface, s, when
you create the interface or by using the addOpening command. To remove a location
from the list of permanent openings, use the removeOpening command.

To view all the openings of s, type s at the command prompt to display the interface
contents. For each permanent opening of s, the display includes the block name and port
number and the name of the signal that originates at this location. You can also
programmatically obtain a list of all the permanent loop openings using getOpenings.

Custom Linearization Function


You can specify a substitute linearization for a block or subsystem in your Simulink model
using a custom function on the MATLAB path.

Your custom linearization function must have one BlockData input argument, which is a
structure that the software creates and passes to the function. BlockData has the
following fields:

Field Description
BlockName Name of the block for which you are specifying a custom linearization.
Parameters Block parameter values, specified as a structure array with Name and
Value fields. Parameters contains the names and values of the
parameters you specify in the blocksub.Value.ParameterNames and
blocksub.Value.ParameterValues fields.

15 Alphabetical List

Free download pdf