Main Content

Setup and Configuration

Install hardware support, update firmware, configure hardware connection

Functions

raspberrypiGet host name, user name, password, and build directory
getRunOnBootGet name of Simulink model added to Run-on-boot
addToRunOnBootAdd Simulink model to Run-on-boot
removeRunOnBootRemove a Simulink model from Run-on-boot
listAudioDevicesList available ALSA audio devices

Topics

Install Support for Raspberry Pi Hardware

Install support for Raspberry Pi™ hardware.

Connect Raspberry Pi Zero W to Your Computer over USB

Connect Raspberry Pi Zero W to your computer using a USB cable.

Setup Virtual CAN Interface

Setup virtual CAN interface before configuring CAN Transmit and CAN Receive blocks.

Simulink Online

Connect to Raspberry Pi Hardware Board in Simulink Online

Configure, connect to, and control Raspberry Pi hardware in Simulink® Online™.

Security Considerations for Raspberry Pi in Simulink Online

Take steps to secure your Raspberry Pi in Simulink Online.

Troubleshoot Raspberry Pi in Simulink Online

Troubleshoot issues in setting up and connecting to your Raspberry Pi in Simulink Online.

Troubleshooting

Configure Raspberry Pi Hardware to Mail IP Address Changes

Configure the board to send you an email message whenever the IP address changes.

Get Network Settings of Raspberry Pi Hardware

There are several ways to get the network settings of the Ethernet connector on your Raspberry Pi hardware.

Open Command-Line Session with Raspberry Pi Hardware

Open a serial command-line session with Raspberry Pi hardware.

Configure Network Settings on Raspberry Pi Hardware

Get or set IP address of Raspberry Pi hardware.

Access Linux on Raspberry Pi Using Computer Peripherals

Set up Raspberry Pi hardware as a Linux® desktop or terminal.

Extend Linux Partition on SD Card

Extend Linux partition on the SD card for Raspbian Linux image.

Enable Passwordless Sudo on Raspberry Pi Hardware

Run Simulink models on Raspberry Pi without providing a password.

Shut Down Raspberry Pi Hardware

Shut down Raspberry Pi hardware.

Troubleshoot Connecting to Raspberry Pi Hardware

Troubleshoot connecting to Raspberry Pi hardware.

Play High-Quality Audio from Raspberry Pi Using I2S-Based DAC

Enable I2S drivers to output high-quality audio from Raspberry Pi using DAC.

Access Internet When Raspberry Pi Is Directly Connected to Computer Using Ethernet

When a Raspberry Pi hardware is directly connected to a computer using an Ethernet cable, perform these steps to access the Internet from the hardware.