Why are the 'Generate makefile', 'Template makefile' and 'Make command' parameters grayed out in my model configuration?

3 views (last 30 days)
I have an AUTOSAR model, and I am wondering why options like 'Generate makefile', 'Template makefile' and 'Make command' are locked/grayed out.
How can I enable those options so I can use my own makefile?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 19 May 2022
Edited: MathWorks Support Team on 19 May 2022
In order to be able to use a (custom) template makefile, you will need to switch from the toolchain approach to the template makefile approach, as explained in the documentation:
To make the parameters appear, execute:
​​​​​​​>> set_param(modelname, 'MakeCommand', 'make_rtw TMF=1')
where "modelname" is your Simulink model name.  
See also the following MATLAB Answers post:

More Answers (0)

Categories

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

Tags

No tags entered yet.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!