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: