适用于嵌入式目标的模块
适用于嵌入式处理器和操作系统的模块
您可以通过结合使用标准模块和 C-MEX S-Function 为嵌入式目标应用程序创建模型。
您可以使用以下来源的模块:
您安装的支持包。
Embedded Targets 库 (
embeddedtargetslib
)来自系统工具箱(如 Instrument Control Toolbox™ 和 Vehicle Network Toolbox™)以及支持包的模块。
自定义模块
模块
主机通信
Byte Pack | 将输入信号转换为 uint8 向量 |
Byte Reversal | Reverse order of bytes in input word |
Byte Unpack | 将 uint8 向量转换为输入信号 |
CAN Pack | Pack individual signals into CAN message |
CAN Unpack | Unpack individual signals from CAN messages |
SCI Receive | Configure host-side serial communications interface to receive data from serial port |
SCI Setup | Configure host-side serial communications interface for host-side SCI Transmit and SCI Receive blocks |
SCI Transmit | Configure host-side serial communications interface to transmit data to serial port |
UDP Receive | Receive UDP packet |
UDP Send | Send UDP packet |
内存操作
Memory Allocate | Allocate memory for new variable |
Memory Copy | Copy data from and to memory section |
主题
- Model Setup
Configure model for code generation
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)