sdo.requirements.BodeMagnitude
Bode magnitude bound
Description
Specify frequency-dependent piecewise-linear upper and lower magnitude bounds on a
linear system. You can then optimize your model to meet the requirements using sdo.optimize
.
You can specify upper or lower bounds, include multiple linear edges, and extend them to + or –infinity.
You must have Simulink® Control Design™ software to specify bode magnitude requirements.
Creation
Syntax
Description
creates an bode_req
= sdo.requirements.BodeMagnitudesdo.requirements.BodeMagnitude
object and assigns default
values to its properties.
specifies one or
more properties using
name-value arguments. For example, bode_req
=
sdo.requirements.BodeMagnitude(Name=Value
)bode_req =
sdo.requirements.BodeMagnitude(FrequencyUnits="Hz")
creates an
sdo.requirements.BodeMagnitude
object and specifies the
FrequencyUnits
property as hertz.
Before R2021a, use commas to separate each name and value, and enclose
Name
in quotes. For example, bode_req =
sdo.requirements.BodeMagnitude("FrequencyUnits","Hz")
creates an
sdo.requirements.BodeMagnitude
object and specifies the
FrequencyUnits
property as hertz.
Properties
Object Functions
evalRequirement | Evaluate design requirement |
copy | Copy design requirement |
get | Get design requirement property values |
set | Set design requirement property values |
Examples
Alternatives
Use getbounds
to get the bounds specified in a Bode
Plot, Check Bode Characteristics (Simulink Control Design) block.
Version History
Introduced in R2010b