Model Simplification with Dependency Analysis

Trace dependencies of ports, signals, and blocks, slice larger models into simplified standalone models

Dependency analysis is determining the interdependencies of blocks, signals, and model components throughout a model. Use Model Slicer to better understand functional dependencies in large or complex models, where determining dependencies can be a lengthy process. See Workflow for Dependency Analysis.

Classes

SLSlicerAPI.SLSlicerClass representing a set of Model Slicer functionality

Functions

slslicerCreate API object for invoking Model Slicer
slsliceroptionsCreate options object for configuring Model Slicer
slslicertraceReturn block handles in sliced model or source model after using Model Slicer

Topics

Introduction to Dependency Analysis

Create a Simplified Standalone Model

Describes cases for simplified model generation.

Highlight Functional Dependencies

Use Model Slicer to highlight functional dependencies and refine the highlighted portion of your model using constraints and exclusions.

Using Model Slicer with Stateflow

Describes the workflow for using Model Slicer with Stateflow® and the behavior of Model Slicer with regards to Stateflow

Highlight Active Time Intervals by Using Activity-Based Time Slicing

Use activity-based time slicing to highlight and slice simulation intervals in which all selected states and transitions are simultaneously active.

Configure Model Highlight and Sliced Models

Model Slice Manager and Model Slicer options.

Isolate Model Components for Functional Testing

Describes how to slice the model components for debugging and refinement.

Model Slicer Considerations and Limitations

Describes limitations and considerations of Model Slicer.

Refine Highlighted Model

Refine Highlighted Model

Describes using simulation time and exclusions to narrow a model highlight.

Refine Highlighted Model Slice by Using Model Slicer Data Inspector

Use Model Slicer Data Inspector to inspect logged signals and refine the highlighted model slice.

Refine Dead Logic for Dependency Analysis

Use Model Slicer to refine dead logic and highlight functional dependencies.

Debug Slice Simulation by Using Fast Restart Mode

Use fast restart to debug a slice simulation by stepping through the time steps.

Programmatically Resolve Unexpected Behavior in a Model with Model Slicer

In this example, you evaluate a Simulink® model, detect unexpected behavior, and use Model Slicer to programmatically isolate and resolve the unexpected behavior.

Refine Highlighted Model by Using Existing .slslicex or Dead Logic Results

Instructions on how to use existing data to highlight functional dependencies in a model.

Creating Simplified Standalone Model

Create a Simplified Standalone Model

Describes cases for simplified model generation.

Simplify a Standalone Model by Inlining Content

Describes how to use the inline content options.

Simplification of Variant Systems

Tutorial describing how to use the Variant Manager to reduce a model to a simplified, standalone model containing only selected variant configurations.

Featured Examples