Code Compilation Customization - MATLAB & Simulink (original) (raw)

Main Content

Customize compilation stage of build process

If you install supported build tools, you can configure a build process that produces executable code after code generation. You can customize the compilation stage of the build process.

Using the Target Framework:

You can also register and use a custom makefile-based toolchain by using aToolchainInfo object.

For the template makefile approach, customize a shipped template makefile.

For the CMake, ToolchainInfo, and template makefile approaches:

Namespaces

target Manage target hardware and build tool information

Classes

Functions

expand all

setTargetProvidesMain Disable inclusion of code generator provided (generated or static)main.c source file during build
target.connection.open Create a connection between MATLAB development computer and remote build computer (Since R2024a)
target.connection.show Show connection between MATLAB development computer and remote build computer (Since R2024a)
target.connection.close Close connection between MATLAB development computer and remote build computer (Since R2024a)
codebuild Compile and link generated code (Since R2020b)

Topics

Compiler

Advanced Techniques