Run on Target Hardware

Run model on target hardware

Concepts

Troubleshooting

Troubleshooting

Signal Monitoring and Parameter Tuning

Overview of the operation of external with attached hardware boards.

Support I2C Communication

Support I2C Communication

Support SPI Communication

Enable communication with other SPI devices by using the SPI Master Transfer block from the support package library.

Asynchronous Serial Communication

Asynchronous Serial Communication

Create a Project Folder

Create a folder for the device driver System object, C/C++ code, and other build artifacts.

Write the Hardware Specific C/C++ Code

Write the device specific C/C++ code used inside the System Object.

Additional Capabilities with Simulink Coder and Embedded Coder

Include additional capabilities for code generation.

Examples and How To

Run Model on Raspberry Pi Hardware

Run a Simulink® model on Raspberry Pi™ hardware.

Stop or Restart a Model Running on Raspberry Pi Hardware

Stop or Restart a Model Running on Raspberry Pi Hardware

Tune and Monitor Model Running on Hardware

Use your host computer to monitor and control an application running on the hardware

Publish or Retrieve Data to Internet of Things Using ThingSpeak

Publish Data to Internet of Things using ThingSpeak

Automatically Run Simulink Model on Raspberry Pi After Restart

Automatically start a Simulink model deployed on Raspberry Pi hardware every time you restart the hardware.

Troubleshooting

Detect and Fix Task Overruns on Raspberry Pi Hardware

Understanding and fixing overruns on Raspberry Pi hardware

Shut Down Raspberry Pi Hardware

Shut Down the Raspberry Pi Hardware

Fix Errors Caused by Configuration Parameters

Featured Examples