Main Content

SLSlicerAPI.SLSlicer.addSliceComponent

Class: SLSlicerAPI.SLSlicer
Package: SLSlicerAPI

Adds a model or a subsystem as a slice component

Description

addSliceComponent(obj, bpath) adds a model or a subsystem as a slice component.

Input Arguments

expand all

Object containing Model Slicer configuration options.

Path of the model or subsystem that needs to be added as slice component.

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