Main Content

Blocks for Embedded Targets

Blocks for embedded processors and operating systems

You can create models for targeting the same way you create other Simulink® models—by combining standard blocks and C-MEX S-functions.

You can use blocks from the following sources:

  • Hardware support packages, which you can install using supportPackageInstaller.

  • The Embedded Targets library (embeddedtargetslib)

  • Blocks from the System Toolboxes products

  • Custom blocks


expand all

Byte PackConvert input signals to uint8 vector
Byte ReversalReverse order of bytes in input word
Byte UnpackUnpack UDP uint8 input vector into Simulink data type values
CAN PackPack individual signals into CAN message
CAN UnpackUnpack individual signals from CAN messages
Host SCI ReceiveConfigure host-side serial communications interface to receive data from serial port
Host SCI SetupConfigure COM ports for host-side SCI Transmit and Receive blocks
Host SCI TransmitConfigure host-side serial communications interface to transmit data to serial port
UDP ReceiveReceive UDP packet
UDP SendSend UDP message


Model Setup

Configuring the model for code generation.