Make command
Description
指定一个命令和可选附加makefile options.
Note
This parameter only appears when the model is configured to use a template makefile-based code generation target, as described inChoose Build Approach and Configure Build Process.
Category:Code Generation
Settings
Default:make_rtw
An internal MATLAB®command used by code generation software to control the build process. The specified make command is invoked when you start a build.
Each target has an associated make command, automatically supplied when you select a target file using the System Target File Browser.
Some third-party targets supply a make command. See the vendor's documentation.
You can supply makefile options in theMake commandfield. The options are passed to the command-line invocation of the
make
utility, which adds them to the overall flags passed to the compiler. Append the options after the make command, as in the following example:make_rtw OPTS="-DMYDEFINE=1"
The syntax for makefile options differs slightly for different compilers.
Tip
Dependency
This parameter is enabled byGenerate makefile.
Command-Line Information
Parameter:MakeCommand |
Type:character vector |
Value:valid make command MATLAB language file |
Default:'make_rtw' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No recommendation |