choices = getChoice(P,Condition)
returns the value associated with the variant condition Condition. You
can specify multiple conditions of variant parameter p in a cell
array.
P — Variant parameter object Simulink.VariantVariable object
Variant parameter object created using Simulink.VariantVariable,
specified as a Simulink.VariantVariable object.
Condition — Variant control expression string
Variant control expression corresponding to the value to be returned, specified as a
string. You can get multiple choices of the object by specifying conditions in a cell
array.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.