main content

本页翻译不是最新的。点击此处可查看最新英文版本。

simulink coder documentation -凯发k8网页登录

simulinkstateflow 模型中生成 c 和 c 代码

simulink® coder™(以前称为 real-time workshop®)从 simulink 模型、stateflow® 图和 matlab® 函数中生成并执行 c 和 c 代码。生成的源代码可用于实时和非实时应用程序,包括仿真加速、快速原型和硬件在环测试。您可以使用 simulink 调整和监测生成的代码,或在 matlab 和 simulink 之外运行代码以及与代码交互。

simulink coder 快速入门

simulink coder 基础知识学习

模型架构和设计

代码生成在模型组件化、层次结构和执行顺序方面的注意事项

代码接口配置和集成

为数据和函数配置代码生成,以便于软件集成

代码生成

c/c 代码生成和调试、报告生成

部署

部署可执行程序和共享库

性能

减少内存使用量并提高生成的代码的执行速度

验证

将模型与生成的代码的仿真结果进行比较

simulink coder 支持的硬件

对第三方硬件的支持


查看 bug 报告以确定并解决问题

software is inherently complex and is not free of errors. the output of a code generator might contain bugs, some of which are not detected by a compiler. mathworks reports critical known bugs brought to its attention on its bug report system at . in the search bar, type the phrase "incorrect code generation" to obtain a report of known bugs that produce code that might compile and execute, but still produce wrong answers. to save a search, click save search.

the bug reports are an integral part of the documentation for each release. examine periodically all bug reports for a release, as such reports may identify inconsistencies between the actual behavior of a release you are using and the behavior described in this documentation.

in addition to reviewing bug reports, you should implement a verification and validation strategy to identify potential bugs in your design, code, and tools.

搜索 r2023a bug 报告


网站地图