目标框架
目标框架使您能够定义目标硬件特性,并将工具与 MATLAB® 和 Simulink® 集成。使用 target
命名空间中的类,捕获 MathWorks 软件的目标硬件或软件平台信息。您可以使用这些信息来进行以下操作:
在模型仿真中复制目标硬件行为。
为硬件和软件平台自定义或优化 MathWorks 产品功能。
将目标硬件与第三方或自定义软件工具集成。
例如,您可以使用目标框架在 Simulink 和外部模式和处理器在环 (PIL) 仿真的目标硬件之间提供连接。
命名空间
target | 管理目标硬件和构建工具信息 |
主题
- Using the Target Framework
An overview of the Target Framework.
- 注册新硬件设备
通过注册新设备来扩展支持的硬件范围。
- Generate Native Half-Precision C Code from Simulink Models (Fixed-Point Designer)
Generate C code for embedded hardware targets that natively supports half precision floating-point data types.
- Create Custom CMake Toolchain Definition
Capture high-level information about CMake-based toolchain and the target hardware it supports.
- Define Custom Makefile-Based Toolchains Using Target Framework
Define and register custom makefile-based toolchains.
- Set Up External Mode Connectivity Between Simulink and Target Hardware
Use
target
package to provide connectivity between Simulink and target hardware. - 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.
- Remove Instrumentation Overheads from Execution Time Measurements
Improve execution-time profiling on deterministic hardware.