Main Content

I/O Devices

Create models that simulate SoC application with I/O devices

Create Simulink® models with simulations of the I/O devices available on SoC devices. Connect I/O devices to the software algorithms and hardware user-logic subsystems of your SoC application model. Add asynchronous communication and data capture simulation to your model using I/O device blocks with event message signals.


soc.recorderData recording session for specified SoC hardware board


expand all

TCP ReadReceive TCP/IP packets from remote host over TCP/IP network
TCP WriteSend TCP/IP packets to remote host over TCP/IP network
UDP ReadReceive UDP packets from remote host
UDP WriteSend UDP packets to remote host
Register ReadRead data from a register region on the specified IP core
Register WriteWrite data to a register region on the specified IP core
Stream ReadStream data to processor algorithms
Stream WriteStream data from processor algorithms to shared memory
PWM WriteSend pulse width modulation (OWM) signal configuration to PWM Interface block
ADC ReadRead ADC data values from ADC Interface block
ADC InterfaceConvert analog signal on ADC input pin to digital signal
PWM InterfaceSimulate pulse width modulation (PWM) output from hardware
DIP SwitchConnect signals attached to DIP switches on hardware board
I2C MasterConfigure and communicate with I2C slave device
LEDConnect signals attached to LEDs on hardware board
Push ButtonConnect signals attached to push buttons on hardware board


soclibOpen the SoC Blockset block library


Record I/O Data from SoC Device

This example shows you how to record real-world data from hardware for use in simulation.

Featured Examples