addChoice
Description
P = addChoice(
        adds a new variant choice to the variant parameter object P,Choices{Condition,Value})P. A variant
        choice consists of a variant condition and a value specified as
          Condition and Value, respectively. You can add
        multiple choices to p by specifying condition-value pairs in a cell
        array. No two values of a variant variable can be associated with the same variant condition.
Note
Adding a value to an existing variant condition results in an error.
Examples
Input Arguments
Version History
Introduced in R2021a