Main Content

本页的翻译已过时。点击此处可查看最新英文版本。

用依存关系分析简化模型

跟踪端口、信号和模块的依存关系,将较大的模型分割成简化的独立模型

依存关系分析可确定整个模型中模块、信号和模型组件的相互依存关系。使用 Model Slicer 可更好地了解大型或复杂模型中的功能依存关系,其中确定依存关系可能会耗时较长。请参阅Workflow for Dependency Analysis

SLSlicerAPI.SLSlicerClass representing a set of Model Slicer functionality

函数

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

主题

依存关系分析简介

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.

以编程方式生成 I/O 依存关系矩阵

Programmatically Generate I/O Dependency Matrix.

Model Slicer Considerations and Limitations

Describes limitations and considerations of Model Slicer.

优化突出显示的模型

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

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.

创建简化的独立模型

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.

特色示例