Класс: Simulink.VariantConfigurationData
Пакет: Simulink
Удалите ограничение из различного объекта данных конфигурации
vcdataObj.removeConstraint(nameOfConstraint)
vcdataObj.removeConstraint(, удаляет ограничение из различного объекта данных конфигурации.nameOfConstraint)
|
Имя ограничения, которое будет удалено. |
% Define the variant configuration data object
vcdataObj = Simulink.VariantConfigurationData;
% Add a constraint named LinNotExtern
vcdataObj.addConstraint('LinNotExtern','((Ctrl~=1)...
|| (PlantLocation ~=1))',...
'Description of the constraint');
% Remove the constraint LinNotExtern
% from the variant configuration
vcdataObj.removeConstraint('LinNotExtern')