Main Content
setChoice
Description
P = setChoice(
replaces the value associated with the variant condition P
,Choices{Condition,Value
})Condition
by
the new value Value
. You can modify multiple values of variant variable
P
by specifying condition-value pairs in a cell array. If the choice
corresponding to the specified condition already exists, the associated value is overridden.
Otherwise, a new choice is added.
Examples
Input Arguments
Version History
Introduced in R2021a