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 view (last 30 days)
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.

Answers (1)

Srijith Kasaragod
Srijith Kasaragod on 1 Dec 2021
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.

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!