Main Content

removeConstraint

Class: SLSlicerAPI.SLSlicer
Namespace: SLSlicerAPI

Removes the constraint from the model slice

Description

removeConstraint(obj,bpath) removes the constraint from the model slice.

Input Arguments

expand all

Object containing Model Slicer configuration options.

Path of the constraint that needs to be added as slice component.

Example: bpath={'sldvSliceClimateControlExample/Refrigeration/On'};

Alternatives

To open the Model Slicer, in the Simulink® Editor, select the APPS tab, and click Model Slicer. Invoking Model Slicer on the model automatically activates the model for analysis.

Version History

Introduced in R2015b