文档

Simulink Real-Time Blocks

字母列表 By Category

实时执行的模型准备

I/O Connectivity

Asynchronous Event

异步缓冲区写和阅读 异步缓冲区写和阅读blocks
Async IRQ Source Async IRQ Source block
异步率转换 异步率转换block

Digital Input

Parallel Port Digital Input 平行端口数字输入块
平行端口数字输入状态位 平行端口数字输入状态位block

数字输出

平行端口数字输出 平行端口数字输出块
平行端口数字输出Control Bits 平行端口数字输出Control Bits block

显示和记录

Scope 实时范围块
Video Display 视频显示块
启用剖面 在目标计算机上启动和停止剖面
达到目标 Send data to target computer
From Target 从目标计算机读取数据

Shared Memory

Byte Reversal/Change Endianess 反向大型处理器的小型数据
共享内存包 Shared memory pack
Shared Memory Unpack 共享内存解开包装

目标管理

Target I/O Management
从文件 从目标计算机上的文件中读取数据
执行参数
Current Available Stack Size Current Available Stack Size returns free stack available
Get Overload Counter 获得过载计数器返回CPU超载的数量
Set Overload Counter 设置当前CPU超载计数
Minimum Available Stack Size 获取最少的免费堆栈
任务执行时间 Task execution time (TET), in seconds
目标信息
CPU Temperature Return current CPU temperature in Celsius
经过时间 Read target computer time
时间邮票三角洲 时间邮票三角洲

Utilities

Byte Packing Construct data frames
字节拆箱 解构数据帧
位包装 Construct data frames
点包装 解构数据帧
Byte Reversal/Change Endianess 反向大型处理器的小型数据

通信协议

CAN

可以打包 Pack individual signals into CAN message
可以打开包装 从CAN消息中解开单个信号

以太猫

Ethercat Init Initialize EtherCAT Master node with data in the EtherCAT Network Information (ENI) file
以太猫Get Notifications Collect notifications from the EtherCAT bus
Ethercat PDO接收 从流程数据对象表示的从设备接收数据
以太猫PDO Transmit 将数据发送到以过程数据对象表示的从设备
Ethercat Sync SDO上传 从服务数据对象表示的从设备同步读取数据
以太猫Sync SDO Download Transmit data synchronously to slave device represented by service data object
以太猫Async SDO Upload 从服务数据对象表示的从设备上读取数据异步
以太猫Async SDO Download Transmit data asynchronously to slave device represented by service data object
以太猫Get State Get state of EtherCAT network
以太猫Set State 设置以太猫网络的状态

以太网

实时以太网配置 为实时原始以太网通信配置网络接口
创建以太网数据包 Create Ethernet packet based on the MAC address and EtherType provided
以太网TX Transmit data over Ethernet network
以太网RX Receive data over Ethernet network
提炼以太网Packet 提炼data from Ethernet packet
头提取物 从以太网数据包中提取标题数据
过滤地址 Filter Ethernet packets based on MAC address
过滤器类型 过滤以太网数据包基于Ethertype
以太网初始化 Initialize network card for real-time raw Ethernet communication
缓冲区MNGMT 初始化网络缓冲区池
Compose 从原始输入数据创建网络缓冲区
提炼 提炼raw data from network buffer
管理 Output or buffer packets as indicated by the parameters
链尺寸 Determine the number of network buffers in the chain
合并 将传入的网络缓冲链合并为一个
Split 拆分网络缓冲链
关联 关联vector of network buffers into a chain
UNLINK UNLINKa chain into a vector of network buffers

J1939

J1939 Protocol Stack J1939 Protocol Stack instance
J1939 Controller Application J1939 Controller Application
J1939 Database (CANdb) Setup J1939 Database Setup
J1939 Message Trigger J1939消息触发
J1939 Transmit Message J1939 Transmit
J1939 Receive Message J1939 Receive Message

IEEE 1588精确时间协议

IEEE 1588 Real-Time UDP 执行IEEE 1588精确时间协议
IEEE 1588 Ethernet 执行IEEE 1588精确时间协议
IEEE 1588同步状态 精确时间协议的输出同步状态
IEEE 1588 Read Parameter 输出精度时间协议状态参数值
IEEE 1588 Sync Execution Synchronize model execution to Precision Time Protocol clock

TCP

TCP Client Configure 配置使用指定以太网接口的TCP客户端应用程序
TCP Server Configure 配置使用指定以太网接口的TCP服务器应用程序
TCP发送 通过TCP网络将数据发送到远程设备
TCP Receive Receive data over TCP network from a remote device
Byte Packing Construct data frames
字节拆箱 解构数据帧
Byte Reversal/Change Endianess 反向大型处理器的小型数据

Real-Time UDP

UDP配置 初始化以太网网络接口用于实时应用程序中的UDP通信
UDP发送 Send data over UDP network to a remote device
UDP Receive 通过远程设备通过UDP网络接收数据
Byte Packing Construct data frames
字节拆箱 解构数据帧
Byte Reversal/Change Endianess 反向大型处理器的小型数据

RS-232

ASCII编码/解码(复合) ASCII编码/解码
ASCII解码V2 ASCII解码V2
RS232状态(复合) RS232 State block
FIFO读/写(Composite) FIFO读/写
FIFO读二进制(复合) FIFO阅读二进制
FIFO Read HDRS (Composite) FIFO阅读HDRS块
RS-232/RS-422/RS-485 Send/Receive (Composite) RS-232/RS-422/RS-485 Send/Receive block
调制解调器控制(复合) Modem Control block
调制解调器状态(复合) 调制解调器状态块
RS-232/422/485板设置(CommTech)和中断检查(Quatech)(复合) RS-232/422/485 Board Setup (Commtech) and Interrupt Check (Quatech) block
RS-232/422/485启用TX中断(复合) RS-232/422/485 Enable TX Interrupt block
RS-232/422/485 Filter Interrupt Reason (Composite) RS-232/422/485滤波器中断原因块
RS-232/422/485 Read Hardware FIFO (Composite) RS-232/422/485 Read Hardware FIFO block
RS-232/422/485读取INT(杂音)状态(复合) RS-232/422/485读取INT(杂音)状态
RS-232/422/485设置(复合) RS-232/422/485 Setup block
RS-232/422/485写硬件FIFO(复合) RS-232/422/485编写硬件FIFO块

USB视频

From USB Video Device From USB Video Device block
USB视频设备列表 USB视频设备列表块
Video Display 视频显示块
图像接收 Receive video image
Image Transmit Transmit video frame
JPEG Compression JPEG Compression block
JPEG减压 JPEG减压块

XCP

XCP配置 配置XCP从连接
XCP数据刺激 对选定的测量进行数据刺激
XCP Data Acquisition Acquire selected measurements from configured slave
XCP CAN Transport Layer 生成并消耗由CAN硬件运输的XCP消息
XCP UDP Transport Layer Send and receive XCP messages over real-time UDP

控制和仪器

Signal Monitoring and Tracing with Simulink Real-Time Explorer

Scope 实时范围块

使用Simulink实时资源管理器进行信金宝app号记录

Scope 实时范围块

自动测试

测试评估 Assess simulation testing scenarios, function calls, and assessments
Test Sequence Create simulation testing scenarios, function calls, and assessments

性能优化

分析和优化

启用剖面 在目标计算机上启动和停止剖面
这个话题有帮助吗?