自定义代码
包含自定义代码以进行仿真和代码生成
通过合并用 C 或 C++ 编写的自定义代码,增强您的 Stateflow® 图的功能,并利用您的原有代码。
主题
- Reuse Custom Code in Stateflow Charts
Integrate preexisting custom code into Simulink® models.
- Configure Custom Code in Library Models
Use custom code for simulation and code generation in library models.
- 访问 Stateflow 图中的自定义代码变量和函数
从 Stateflow 图中调用自定义代码函数。