How can I switch from the toolchain approach to the template makefile (TMF) approach for my Simulink model and back?
4 views (last 30 days)
Show older comments
MathWorks Support Team
on 21 Jan 2022
Answered: MathWorks Support Team
on 21 Jan 2022
How can I switch from the toolchain approach to the template makefile (TMF) approach and back?
Accepted Answer
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:
0 Comments
More Answers (0)
See Also
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!