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

조회 수: 4 (최근 30일)
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?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2022년 5월 19일
편집: MathWorks Support Team 2022년 5월 19일
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:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by