Main Content

SLSlicerAPI.SLSlicer.removeConstraint

Class: SLSlicerAPI.SLSlicer
Package: 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 manager, in the Simulink® Editor, select the APPS tab, and click Model Slicer. Invoking Model Slicer on the model automatically activates the model for analysis.

Introduced in R2015b