%REMOVECHOICE Remove variant choice specified by variant condition
%
% P = removeChoice(P, 'Condition') removes the variant choice
% condition-value pair specified by the given Condition. 
% P = removeChoice(P, {'Condition1', 'Condition2', ...}) removes multiple
% variant choices as per the specified variant conditions. Specifying a
% condition that does not exist for P will result in an error.
%
% Example: Remove the default variant choice of a variant variable.
%   P = Simulink.VariantVariable('Choices', {'V==1', 3.5, 'V==2', 8.3,...
%       '(default)', 0});
%   P = removeChoice(P, '(default)')

%   Copyright 2020 The MathWorks, Inc.