How can I switch from the toolchain approach to the template makefile (TMF) approach for my Simulink model and back?

조회 수: 4 (최근 30일)

채택된 답변

MathWorks Support Team
MathWorks Support Team 2022년 1월 21일
To switch from the toolchain approach to the TMF approach, use the command:
>> set_param('modelName', 'MakeCommand', 'make_rtw TMF=1')
As a result, the Code Generation pane in your model configuration parameters will look as follows:
To switch back from the TMF approach to the toolchain approach, temporarily specify a different "System target file" in the Code Generation pane, and then select the toolchain-compliant system target file (ert.tlc, ert_shrlib.tlc, grt.tlc).
As a result, the Code Generation pane in your model configuration parameters will look as follows:
Refer to the following documentation for a detailed explanation of the two approaches, and considerations when upgrading your model to the toolchain approach:

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by