Template makefile
Template makefile to use to generate makefile for specified system target file
Model Configuration Pane: Code Generation
Description
The Template makefile parameter specifies the template makefile from which to generate the makefile.
Note
This parameter appears when the model is configured to use a template makefile-based code generation system target file, as described in Configure Toolchain (ToolchainInfo) or Template Makefile Build Process.
Dependencies
This parameter is enabled by Generate makefile.
Settings
grt_default_tmf
(default)Determines which compiler runs, during the make phase of the build, to compile the generated code. You can specify a template makefile in the following ways:
Generate a value by selecting a system target file.
Explicitly enter the file name and extension of a custom template makefile. The file must be on the MATLAB® path.
Tips
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.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: TemplateMakefile |
Type: character vector |
Value: valid template makefile filename |
Default: 'grt_default_tmf' |
Version History
Introduced in R2006a