Documentation

Model Preparation for Real-Time Simulation

Predefined and custom I/O driver blocks, code generation parameters, real-time kernel

Functions

sldrtkernel Install and remove Simulink Desktop Real-Time kernel
rtwho Display information about host computer status
sldrtconfigset Attach and activate default Simulink Desktop Real-Time configuration set

Blocks

Analog Input Connect to and read from analog input channels
Counter Input Connect to and read from counter input channels
Digital Input Connect to and read from digital input lines or channels
Encoder Input Connect to and read from encoder input channels
Other Input Connect to and read from hardware requiring specialized driver support
Packet Input Read unformatted binary data from port, file, or CAN device
Stream Input Read formatted ASCII data from port or file
Analog Output Connect to and write to analog output channels
Digital Output Connect to and write to digital output lines or channels
Frequency Output Generate and output pulse-width-modulated square wave to timer output
Other Output Connect to and write to hardware requiring specialized driver support
Packet Output Write unformatted binary data to port, file, or CAN device
Stream Output Write formatted ASCII data to port or file
Real-Time Sync Synchronize Simulink to real-time
Was this topic helpful?