set
Set property values
Syntax
set(req,Name,Value,)
Description
set(
sets
the property value of a requirement object (req
,Name,Value
,)sdo.requirements.StepResponseEnvelope
,
...). Specify the property name and value using one or more Name,Value
pair
arguments.
Input Arguments
|
Requirement object ( |
|
Property name of a requirement object ( |
Examples
Specify property values.
r = sdo.requirements.SignalBound; set(r,'BoundTimes',[0 5;5 10], ... 'BoundMagnitudes',[1.1 1.1; 1.01 1.01]);
Tips
Use
set
to simultaneously change properties that you cannot change independently.
Alternatives
You can set data in properties using dot notation: object.PropertyName
.
However, you cannot simultaneously set the value of more than one property using dot
notation, use set
instead.
Version History
Introduced in R2011b