Specify the template makefile from which to generate the makefile.
Note
This parameter only appears when the model is configured to use a template makefile-based code generation target, as described in Choose Build Approach and Configure Build Process.
Category: Code Generation
Default:
grt_default_tmf
The template makefile determines which compiler runs, during the make phase of the build, to compile the generated code. You can specify template makefiles in the following ways:
Generate a value by selecting a target configuration using the System Target File Browser.
Explicitly enter a custom template makefile filename (including the extension). The file must be on the MATLAB® path.
If you do not include a filename extension for a custom template makefile, the code generator attempts to find and execute a MATLAB language file.
You can customize your build process by modifying an existing template makefile or by providing your own template makefile.
This parameter is enabled by Generate makefile.
Parameter:
TemplateMakefile |
Type: character vector |
Value: valid template makefile filename |
Default:
'grt_default_tmf' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |