- If a bound is not satisfied, the block asserts, and a warning message appears at the
MATLAB prompt. You can also specify that the block:- Evaluate a MATLAB expression.
- Stop the simulation and bring that block into focus.
During simulation, the block can also output a logical assertion signal:
- If all bounds are satisfied, the signal is true ( 1 ).
- If a bound is not satisfied, the signal is false ( 0 ).
You can add multiple Gain and Phase Margin Plot blocks to compute and plot the gain and
phase margins of various portions of the model.
You can save the linear system as a variable in the MATLAB workspace.
The block does not support code generation and can be used only in Normal simulation
mode.
Parameters
The following table summarizes the Gain and Phase Margin Plot block parameters,
accessible via the block parameter dialog box.
Task Parameters
Configure linearization. Specify inputs and outputs
(I/Os).
In Linearizations tab:
- “Linearization inputs/
outputs” on page 16-109. - “Click a signal in the
model to select it” on
page 16-112.
Gain and Phase Margin Plot