Main Content
ActiveBlocks
Class: SLSlicerAPI.SLSlicer
Namespace: SLSlicerAPI
Returns the active non-virtual block handles
Syntax
Description
ActiveBlocks(
returns the active
non-virtual block handles.obj
)
Input Arguments
Example
openExample('slcheck/AddStartingPointAndHighlightTheModelSliceExample','sldvSliceClimateControlExample'); obj=slslicer('sldvSliceClimateControlExample'); ActiveBlocks(obj);
Alternatives
To open the Model Slicer manager, in the Simulink® Editor, select the APPS tab, and click Model Slicer. To view the active blocks, simulate the model while the model is in slicer mode.
Version History
Introduced in R2015b