本页面提供的是上一版软件的文档。当前版本中已删除对应的英文页面。
Stateflow 图
生成和重用 Stateflow® 图的代码
创建包含事件、状态和转移的图时,应遵循建模规范。要了解为包含 Stateflow 图的模型生成代码时的注意事项,请参阅 Code Generation of Stateflow Blocks。
主题
- Code Generation of Stateflow Blocks
The code generator produces code for Stateflow blocks for rapid prototyping.
- Generate Code from Atomic Subcharts
Produce standalone code for linked and unlinked atomic subcharts.
- Inline State Functions in Generated Code
Describes when and how to control inlining of state functions in generated code.
- 图建模规范
当您为图开发模型和生成代码时,请使用建模规范建议。
- Modeling Guidelines for Stateflow Charts (Stateflow)
Efficiently model charts by using states, transitions, and events.