Класс: 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')