Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

开发目标

基于 ARM® Cortex®-M 处理器创建目标

目标将 MATLAB® 和 Simulink® 设计部署到嵌入式硬件。借助目标,您可以通过生成特定于处理器的代码、集成实时操作系统和设备驱动程序,以及在嵌入式硬件上探查执行情况,来原型化、验证和部署您的应用。

Embedded Coder® Support Package for ARM Cortex-M Processors 可帮助您基于 ARM Cortex-M 处理器开发新的 Embedded Coder 目标。此支持包为您提供以下类和函数以帮助您开发目标,统称为目标软件开发工具包 (SDK)

开始之前,请参阅What Is a Target?Prerequisites。当您准备好开始创建自己的目标时,请按照Implement a Target中所述的步骤进行操作。

函数

createTargetCreate an object for the target being developed
createHardwareCreate an object for the hardware that a target supports
deleteTargetDelete a target
loadTargetLoad a target
saveTargetSave a target
testTargetTest the features of the target using the supported hardware

全部展开

TargetAn object for the target being developed
BaremetalSchedulerCreate an object for a bare metal scheduler used for hardware
BaseRateTriggerTrigger that runs base rate task in generated code
DeployerApplication deployment configuration
ExternalModeExternal mode configuration
IOInterfaceIO interface connected to hardware
OperatingSystemOperating system that runs on hardware
PILProcessor-in-the-loop simulation configuration
ProfilerCode execution profiler that collects timing information for generated code
HardwareHardware that runs generated code
EthernetInterfaceEthernet interface connected to hardware
SerialInterfaceSerial interface connected to hardware
LoaderAn object that describes how to load code to hardware
ToolchainToolchain configuration
BuildConfigurationConfiguration that describes how to build generated code

主题