Toolchain Configuration

Use model build process that generates optimized makefiles and supports custom toolchains

The Toolchain parameter specifies the collection of third-party software tools that builds the generated code. A toolchain can include a compiler, linker, archiver, and other prebuild or postbuild tools. The code generator can detect and validate a number of installed toolchains. You can also define and register custom toolchains.

Topics

Choose Build Approach and Configure Build Process

Build executable programs from generated code.

Use makecfg to Customize Generated Makefiles for S-Functions

Configure makefile generation for the S-function build process.

Adding a Custom Toolchain (MATLAB Coder)

This example shows how to register and use a toolchain to compile an executable.

Custom Toolchain Registration (MATLAB Coder)

Register third-party software build tools for creating executables and libraries.

Troubleshooting Custom Toolchain Validation (MATLAB Coder)

Troubleshoot validation errors.