工具链配置
使用生成优化的联编文件并支持自定义工具链的模型编译过程
Toolchain 参数指定一组第三方软件工具,用来编译生成的代码。工具链可以包括编译器、链接器、存档器和其他预编译或编译后工具。代码生成器可以检测并验证已安装的多个工具链。您还可以定义并注册自定义工具链。
主题
- Approaches for Building Code Generated from Simulink Models
Choose CMake, toolchain, or template makefile approach for building generated code.
- Use makecfg to Customize Generated Makefiles for S-Functions
Configure makefile generation for the S-function build process.
- Add Custom Toolchains to MATLAB® Coder™ Build Process
This example shows how to register and use a toolchain to compile an executable.
- Custom Toolchain Registration
Register third-party software build tools for creating executables and libraries.
- Troubleshooting Custom Toolchain Validation
Troubleshoot validation errors.