Main Content

Modeling

R2026b
Prepare model for hardware connection, add blocks to support hardware protocols

Prepare Simulink® models for hardware connection, add blocks to support hardware protocols, reference examples featuring various applications.

Blocks

Analog Input blockAnalog InputMeasure the voltage of analog input pin
Analog Output blockAnalog OutputSend analog output signal to DAC0_OUT pin
Digital ReadRead the logical value of digital input pin
Digital Write blockDigital WriteSet the logical value of a digital output pin
FXOS8700 6-Axes Sensor blockFXOS8700 6-Axes SensorGet measurement of linear acceleration and magnetic field along the X, Y, and Z axes of the FXOS8700 6-Axes chip
I2C Controller Read blockI2C Controller ReadRead data from I2C peripheral device or I2C peripheral device register
I2C Controller Write blockI2C Controller WriteWrite data to I2C peripheral device or I2C peripheral device register
Push Button blockPush ButtonRead logical state of Push button
PWM Output blockPWM OutputGenerate pulse waveform on specified output pin
Quadrature Encoder blockQuadrature EncoderMeasure rotation of encoder in ticks
Serial Receive blockSerial ReceiveRead data from UART port
Serial Transmit blockSerial TransmitSend serial data to UART port
TCP Receive blockTCP ReceiveReceive data over TCP/IP network from remote host
TCP Send blockTCP SendSend data over TCP/IP network to remote host
UDP Receive blockUDP ReceiveReceive UDP message from UDP host
UDP Send blockUDP SendSend UDP message to UDP host

Topics