Customize the build process and, if necessary, the build process infrastructure for your application development environment and run-time requirements. Control the files and flags for compiling and linking code.
If your system includes referenced models, reduce build time and control whether the code generator regenerates code for the top model.
|Add compiler options to build information|
|Add preprocessor macro definitions to build information|
|Add include files to build information|
|Add include paths to build information|
|Add link options to build information|
|Add link objects to build information|
|Add nonbuild-related files to build information|
|Add source files to build information|
|Add source paths to build information|
|Add template makefile (TMF) tokens to build information|
|Remove source files from build information object|
|Get build arguments from build information|
|Get compiler options from build information|
|Get preprocessor macro definitions from build information|
|Get list of files from build information|
|Get include files from build information|
|Get include paths from build information|
|Get link options from build information|
|Get nonbuild-related files from build information|
|Get source files from build information|
|Get source paths from build information|
Choose CMake, toolchain, or template makefile approach for building generated code.
Template makefiles that are built into the code generator.
Select whether build process ends after code generation and (for template makefile approach) select template makefile options.
Control compiler optimizations for your makefile at the Simulink UI level.
Choose the location for precompiled, non-precompiled, and model reference libraries and select the file extension that the build process applies to libraries.
Choose options for regenerating code for the top-level model.
Apply parallel builds to reduce build time for large model reference hierarchies.
Configure makefile generation for the S-function build process.
Modify the build process with a post-code-generation command and (optionally) use build information objects to augment this process.
Apply custom setting to precompiled libraries for platforms or environments through recompile process.
Use code generation and packaging options to relocate code and artifacts to another development environment.
Relocate generated code and compile in another environment.
Register and use a toolchain to build an executable program.
Modify the build process with the build process hook mechanism in a custom
Modify the build process with the build process hook mechanism in a custom sl_customization.m hook file.
For custom targets created prior to MATLAB® Release 14, update use of custom
specifying target-specific characteristics.
Create software to deploy MATLAB and Simulink® designs to hardware platforms.
Develop a custom system target file to meet development goals and to control code generation.
Add optional feature support to a custom system target file for compliance with code generation features, such as toolchain compliance and model reference compliance.
Add toolchain approach support to a custom system target file for more user-interface controls of the build process.
Add C function prototype control support to a custom system target file for more build process control.
Add C++ class interface control support to a custom system target file for more build process control.
Add model reference support to a custom system target file for model reference builds.
Add compiler optimization level control support to a custom system target file for more build process control.
Add multitasking execution support to a custom system target file for multicore target models.
Use device drivers as part of a real-time development project.