本页对应的英文页面已更新,但尚未翻译。 若要查看最新内容,请点击此处访问英文页面。

调试

分析图仿真是否存在设计不一致性

设置断点、监视数据值并步进状态图中的函数。检测编辑时和运行时建模错误。

主题

Debugging Stateflow Charts

Set breakpoints and monitor data to debug Stateflow® charts.

Detect Modeling Errors During Edit Time

Discover modeling errors as you design your Stateflow chart.

在图仿真过程中检测常见的建模错误

描述 Stateflow 标记的常见建模错误。

Animate Stateflow Charts

Visually check behavior during simulation by using chart animation.

Commenting Stateflow Objects in a Chart

Comment out Stateflow objects to exclude them from simulation.

Debug Run-Time Errors in a State Transition Table

Use breakpoints to debug state transition tables.

Debug a MATLAB Function in a Chart

Use breakpoints to debug MATLAB® functions.

Debug Errors in a Truth Table

Use breakpoints to debug truth tables.

Avoid Unwanted Recursion in a Chart

Describes guidelines for avoiding unwanted recursive behavior.

Implement Dynamic Test Vectors

Create test vectors that change dynamically during simulation.