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

7 views (last 30 days)
How can I switch from the toolchain approach to the template makefile (TMF) approach and back?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Jan 2022
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:

More Answers (0)

Community Treasure Hunt

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

Start Hunting!