针对目标硬件的自定义软件
创建用于将 MATLAB® 和 Simulink® 设计部署到硬件平台的软件
创建用于实现或支持将 MATLAB 和 Simulink 设计部署到硬件平台的软件。了解文件夹和文件约定、软件组件以及编译过程中的信息传递。
您可以:
为编译过程注册自定义工具链。
为目标硬件自定义 XCP 服务器软件。
创建一个目标硬件应用程序,用于检查代码生成假设的有效性。
使用 目标框架,您可以:
扩大支持的硬件的范围。
为外部模式和处理器在环 (PIL) 仿真提供 Simulink 和您的目标硬件之间的连接。
为实现开发目标和控制代码生成,您可以自定义系统目标文件。
命名空间
target | 管理目标硬件和构建工具信息 |
类
函数
主题
自定义目标硬件支持
- 自定义目标
创建软件,将 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.
通过使用目标框架开发支持
- 注册新硬件设备
通过注册新设备来扩展支持的硬件范围。 - 在 Simulink 和目标硬件之间设置外部模式连接
使用target命名空间在 Simulink 和目标硬件之间提供连接。 - Set Up PIL Connectivity by Using Target Framework
Provide PIL connectivity between Simulink and the target hardware. - Define Custom Emulator for Target Connectivity
Provide connectivity for target emulator.
通过使用系统目标文件开发支持
- 自定义系统目标文件
开发自定义系统目标文件,以满足开发目的并控制代码生成。 - 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 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. - Support C Function Prototype Control
Add C function prototype control support to a custom system target file for more build process control. - Support C++ Class Interface Control
Add C++ class interface control support to a custom system target file for more build process control. - 设备驱动
将设备驱动用作实时开发工程的一部分。 - 为 TCP/IP 或串行外部模式通信创建传输层
创建自定义底层通信层,以支持通过外部模式连接到自定义目标。