Why can't I find the option to generate an example main program?
4 views (last 30 days)
Show older comments
MathWorks Support Team
on 12 Feb 2019
Edited: MathWorks Support Team
on 13 Oct 2022
Why can't I find the option to generate an example main program?
I used to get an example "main.c" file whenever I generated code, but the option no longer appears.
Accepted Answer
MathWorks Support Team
on 13 Oct 2022
Edited: MathWorks Support Team
on 13 Oct 2022
The Code Generation > Templates pane in the Model Configuration Parameters disappears when the System Target File is set to "grt.tlc" and not "ert.tlc". Here is the Embedded Coder Documentation page describing the example main program option.
0 Comments
More Answers (0)
See Also
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!