本页面提供的是上一版软件的文档。当前版本中已删除对应的英文页面。
工具链配置
使用生成优化的联编文件并支持自定义工具链的模型编译过程
工具链参数指定一组第三方软件工具,用来编译生成的代码。工具链可以包括编译器、链接器、存档器和其他预编译或编译后工具。代码生成器可以检测并验证已安装的多个工具链。您还可以定义并注册自定义工具链。
主题
- 编译从 Simulink 模型生成的代码的方法
选择 CMake、工具链或模板联编文件方法来编译生成的代码。
- 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.