针对目标硬件的自定义软件
创建用于将 MATLAB® 和 Simulink® 设计部署到硬件平台的软件
创建用于实现或支持将 MATLAB 和 Simulink 设计部署到硬件平台的软件。了解文件夹和文件约定、软件组件以及编译过程中的信息传递。
您可以:
为编译过程注册自定义工具链。
为目标硬件自定义 XCP 服务器软件。
创建一个目标硬件应用程序,用于检查代码生成假设的有效性。
使用 target
包,您可以:
扩大支持的硬件的范围。
为外部模式和处理器在环 (PIL) 仿真提供 Simulink 和您的目标硬件之间的连接。
为实现开发目标和控制代码生成,您可以自定义系统目标文件。
类
包
target | 管理目标硬件和构建工具信息 (自 R2019a 起) |
函数
主题
自定义目标硬件支持
- 自定义目标
创建软件,将 MATLAB 和 Simulink 设计部署到硬件平台。 - Target Development Folders, Files, and Builds
Relate custom system target file development to the folders and files that the build process creates and uses. - Custom Toolchain Registration
Register third-party software build tools for creating executables and libraries. - Register Custom Toolchain and Build Executable
Register and use a toolchain to build an executable program. - Troubleshooting Custom Toolchain Validation
Troubleshoot validation errors. - Customize XCP Server Software
Customize XCP server software for target hardware. - Check Code Generation Assumptions
Use standalone workflow to check code generator assumptions.
通过使用目标包开发支持
- 注册新硬件设备
通过注册新设备来扩展支持的硬件范围。 - Set Up External Mode Connectivity Between Simulink and Target Hardware
Usetarget
package to provide connectivity between Simulink and target hardware.
通过使用系统目标文件开发支持
- 自定义系统目标文件
开发自定义系统目标文件,以满足开发目的并控制代码生成。 - Custom Target Optional Features
Add optional feature support to a custom system target file for compliance with code generation features, such as toolchain compliance and model reference compliance. - Support Toolchain Approach with Custom Target
Add toolchain approach support to a custom system target file for more user-interface controls of the build process. - Support Model Referencing
Add model reference support to a custom system target file for model reference builds. - Support Compiler Optimization Level Control
Add compiler optimization level control support to a custom system target file for more build process control. - Support Concurrent Execution of Multiple Tasks
Add multitasking execution support to a custom system target file for multicore target models. - 设备驱动程序
将设备驱动程序用作实时开发项目的一部分。 - 为 TCP/IP 或串行外部模式通信创建传输层
创建自定义底层通信层,以支持通过外部模式连接到自定义目标。