P = removeChoice(P,Condition)
removes the condition-value pair from variant variable P corresponding
to condition Condition. You can remove multiple choices from
P by specifying conditions in a cell array. Specifying variant
conditions that do not exist results in an error.
P — Variant parameter object Simulink.VariantVariable object
Variant parameter object created using Simulink.VariantVariable,
specified as an Simulink.VariantVariable object. The choices that you
specify using removeChoice are removed from this object.
Condition — Variant control expression string
Variant control expression corresponding to the value to be removed, specified as a
string. You can remove multiple choices from 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.