When generating code with Embedded Coder, a text editor window automatically pops up to view the generated code. Is there a way to deactivate this option?

1 次查看(过去 30 天)
When generating code with Embedded Coder, a text editor window automatically pops up to view the generated code after code generation. Is there a way to deactivate this option?
I couldn't find anything on this in the documentation or in the project configuration.

回答(1 个)

Srijith Kasaragod
Srijith Kasaragod 2021-12-1
Hi Paul,
The ability to prevent the Code window from appearing is not available in SIMULINK currently. There are no direct workarounds.
As an alternative to generating code from the Simulink user interface, the function "slbuild" can be used at the MATLAB Command Window to generate code. If you run "slbuild" on a model that is closed, the Simulink user interface and the Code window will not be visible.
Refer to this documentation for more information on "slbuild"
Regards,
Srijith.

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

产品


版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by