This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Simulink Real-Time Blocks - By Category

Alphabetical List By Category

Model Preparation for Real-Time Execution

I/O Connectivity

Asynchronous Event

Async Buffer Write and ReadAsync Buffer Write and Read blocks
Async IRQ SourceAsync IRQ Source block
Async Rate TransitionAsync Rate Transition block

Digital Input

Parallel Port Digital InputParallel Port Digital Input block
Parallel Port Digital Input Status BitsParallel Port Digital Input Status Bits block

Digital Output

Parallel Port Digital OutputParallel Port Digital Output block
Parallel Port Digital Output Control BitsParallel Port Digital Output Control Bits block

Logitech G29 Steering Wheel

Logitech G29 Steering WheelReceive Logitech G29 Steering Wheel Read data

Displays and Logging

ScopeReal-time Scope block
Video DisplayVideo Display block
Enable ProfilerStart and stop profiler on target computer
To TargetSend data to target computer
From TargetRead data from target computer

Shared Memory

Byte Reversal/Change EndianessReverse little-endian data for big-endian processor
Shared Memory PackShared memory pack
Shared Memory UnpackShared memory unpacking

Target Management

Target I/O Management
From FileRead data from file on target computer
Execution Parameters
Current Available Stack SizeCurrent Available Stack Size returns free stack available
Get Overload CounterGet Overload Counter returns number of CPU overloads
Set Overload CounterSet current CPU overload count
Minimum Available Stack SizeGet the smallest amount of free stack available
Task Execution TimeTask execution time (TET), in seconds
Target Information
CPU TemperatureReturn current CPU temperature in Celsius
Elapsed TimeRead target computer time
Time Stamp DeltaTime stamp delta

Utilities

Byte PackingConstruct data frames
Byte UnpackingDeconstruct data frames
Bit PackingConstruct data frames
Bit UnpackingDeconstruct data frames
Byte Reversal/Change EndianessReverse little-endian data for big-endian processor

Communication Protocols

CAN

CAN PackPack individual signals into CAN message
CAN UnpackUnpack individual signals from CAN messages
CAN FD PackPack individual signals into message for CAN FD bus
CAN FD UnpackUnpack individual signals from CAN FD messages

EtherCAT

EtherCAT InitInitialize EtherCAT Master node with data in the EtherCAT Network Information (ENI) file
EtherCAT Get NotificationsCollect notifications from the EtherCAT bus
EtherCAT PDO ReceiveReceive data from slave device represented by process data object
EtherCAT PDO TransmitSend data to slave device represented by process data object
EtherCAT Sync SDO UploadRead data synchronously from slave device represented by service data object
EtherCAT Sync SDO DownloadTransmit data synchronously to slave device represented by service data object
EtherCAT Async SDO UploadRead data asynchronously from slave device represented by service data object
EtherCAT Async SDO DownloadTransmit data asynchronously to slave device represented by service data object
EtherCAT Sync SSC/SoE UploadRead data synchronously from slave device represented by service data object
EtherCAT Sync SSC/SoE DownloadTransmit data synchronously to slave device represented by service data object
EtherCAT Async SSC/SoE UploadRead data asynchronously from slave device represented by service data object
EtherCAT Async SSC/SoE DownloadTransmit data asynchronously to slave device represented by service data object
EtherCAT Get StateGet state of EtherCAT network
EtherCAT Set StateSet state of EtherCAT network

Ethernet

Real-Time Ethernet ConfigurationConfigure network interface for real-time raw Ethernet communication
Create Ethernet PacketCreate Ethernet packet based on the MAC address and EtherType provided
Ethernet TxTransmit data over Ethernet network
Ethernet RxReceive data over Ethernet network
Extract Ethernet PacketExtract data from Ethernet packet
Header ExtractExtract header data from Ethernet packet
Filter AddressFilter Ethernet packets based on MAC address
Filter TypeFilter Ethernet packets based on EtherType

J1939

J1939 Network ConfigurationDefine J1939 network configuration name and database file
J1939 Node ConfigurationConfigure J1939 node with address and network management attributes
J1939 CAN Transport LayerTransport J1939 messages via CAN
J1939 ReceiveReceive J1939 parameter group messages
J1939 TransmitTransmit J1939 message

IEEE 1588 Precision Time Protocol

IEEE 1588 Real-Time UDPExecute IEEE 1588 Precision Time Protocol
IEEE 1588 EthernetExecute IEEE 1588 Precision Time Protocol
IEEE 1588 Sync StatusOutput synchronization status of Precision Time Protocol
IEEE 1588 Read ParameterOutput Precision Time Protocol status parameter value
IEEE 1588 Sync ExecutionSynchronize model execution to Precision Time Protocol clock

TCP

TCP Client ConfigureConfigure a TCP client application that uses the specified Ethernet interface
TCP Server ConfigureConfigure TCP server application that uses the specified Ethernet interface
TCP SendSend data over TCP network to a remote device
TCP ReceiveReceive data over TCP network from a remote device
Byte PackingConstruct data frames
Byte UnpackingDeconstruct data frames
Byte Reversal/Change EndianessReverse little-endian data for big-endian processor

Real-Time UDP

UDP ConfigureInitialize Ethernet network interface to use for UDP communication in real-time applications
UDP SendSend data over UDP network to a remote device
UDP ReceiveReceive data over UDP network from a remote device
Byte PackingConstruct data frames
Byte UnpackingDeconstruct data frames
Byte Reversal/Change EndianessReverse little-endian data for big-endian processor

RS-232

ASCII EncodeConvert Simulink values into uint8 character vector
ASCII DecodeParse ASCII character vector into Simulink values
FIFO ReadRead simple data streams
FIFO WriteWrite simple data streams
FIFO Read HDRSRead multiple ASCII data streams according to header information
FIFO Read BinaryRead multiple binary data streams according to header information
RS-232 Send/ReceiveSend and receive data over Mainboard Baseboard serial port
RS-232 Send/Receive FIFOSend and receive data over Mainboard Baseboard serial port with FIFO
Modem ControlControl state of RTS and DTR output lines on serial port
Modem StatusReturn state of modem control lines
RS232 StateMonitor board state information from send/receive block
ASCII Decode V2Parse ASCII character vector into Simulink values

USB Video

From USB Video DeviceFrom USB Video Device block
USB Video Device ListUSB Video Device List block
Video DisplayVideo Display block
Image ReceiveReceive video image
Image TransmitTransmit video frame
JPEG CompressionJPEG Compression block
JPEG DecompressionJPEG Decompression block

XCP

XCP ConfigurationConfigure XCP slave connection
XCP Data StimulationPerform data stimulation on selected measurements
XCP Data AcquisitionAcquire selected measurements from configured slave
XCP CAN Transport LayerGenerate and consume XCP messages that are transported by CAN hardware
XCP UDP Transport LayerSend and receive XCP messages over real-time UDP

Control and Instrumentation

Signal Monitoring and Tracing with Simulink Real-Time Explorer

ScopeReal-time Scope block

Signal Logging with Simulink Real-Time Explorer

ScopeReal-time Scope block

Automated Testing

Test AssessmentAssess simulation testing scenarios, function calls, and assessments
Test SequenceCreate simulation testing scenarios, function calls, and assessments

Performance Optimization

Profiling and Optimization

Enable ProfilerStart and stop profiler on target computer