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.
Variant parameter object created using Simulink.VariantVariable,
specified as a Simulink.VariantVariable object. The choices that you
specify using removeChoice are removed from this object.
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.