Main Content

Modularize Installation of Third-Party Packages and Libraries for Raspberry Pi Hardware

Using the Hardware Setup screens for the MATLAB® Support Package for Raspberry Pi® Hardware and Simulink® Support Package for Raspberry Pi Hardware support packages, you can manage and customize your setup by installing only the select third-party libraries and packages on your Raspberry Pi hardware. You can reduce the bundle installation footprint on your Raspberry Pi hardware and reduce the support package installation time by installing only the bundles according to your application-based requirements.

To setup the MATLAB Support Package for Raspberry Pi Hardware and Simulink Support Package for Raspberry Pi Hardware support packages from the Hardware Setup screens, there are two installation workflows — Standard installation and Custom installation.

  • Standard installation — Select this option to download and install all the core and third-party libraries and packages available on the Hardware Setup screen for the support package.

  • Custom installation — Select this option to download and install all of core and only the select third-party libraries and packages available on the Hardware Setup screen for the support package.

.

Core Bundle

This bundle is mandatory to install in the Hardware Setup screen. It downloads and installs the core libraries and packages for the MATLAB Support Package for Raspberry Pi Hardware and Simulink Support Package for Raspberry Pi Hardware support packages. This bundle contains all the essential libraries and packages that ensures an optimum functioning of the MATLAB workflows using the blocks and functions from the support packages.

These are the libraries and packages included in the core bundle.

libnanomsg_devntpupdatecmake
python3v4l-utilsi2c-tools
gitlsoflibi2c_dev
pigpiouserlandlibsdl1.2-dev
py_nanomsglibjson-c-devsense-hat

These are the blocks that utilize the libraries and packages in the core bundle for their optimum functionality.

GPIO Read (Simulink)ADS1x15 (Simulink)Serial Write (Simulink)
GPIO Write (Simulink)CAN Receive (Simulink)UDP Receive (Simulink)
Standard Servo Write (Simulink)CAN Transmit (Simulink)UDP Send (Simulink)
LED (Simulink)SPI Controller Transfer (Simulink)TCP/IP Receive (Simulink)
8x8 RGB LED Matrix (Simulink)SPI Register Read (Simulink)TCP/IP Send (Simulink)
PWM (Simulink)SPI Register Write (Simulink)V4L2 Video Capture (Simulink)
External Interrupt (Simulink)I2C Controller Read (Simulink)HTS221 Humidity Sensor (Simulink)
Encoder (Simulink)I2C Controller Write (Simulink)LPS25h Pressure Sensor (Simulink)
Pan Tilt Hat (Simulink)Serial Read (Simulink)LSM9DS1 IMU Sensor (Simulink)
Joystick (Simulink)  

Audio/Video Bundle

This bundle is an elective option in the Hardware Setup screen that downloads and installs the libraries and packages supporting the audio and video applications for Simulink Support Package for Raspberry Pi Hardware. This bundle contains all the essential libraries and packages for the blocks and functions that use the audio and video processing capabilities such as audio recording, playback, and video capturing.

These are the libraries and packages included in the audio/video bundle.

libsdl2-devlibsox-dev
alsa-utilsespeak
soxgstreamer
libsox-fmt-allgst-rtsp-server

These are the blocks that utilize the libraries and packages in the audio/video bundle for their optimum functionality.

IoT Bundle

This bundle is an elective option in the Hardware Setup screen that downloads and installs the libraries and packages supporting the internet of things (IoT) applications for Simulink Support Package for Raspberry Pi Hardware. This bundle ensures an optimum integration of the IoT protocol and devices such as sensors, actuators, cloud services. and other IoT components with the support packages.

These are the libraries and packages included in the IoT bundle.

libssl-devmqtt-paho
libcurl4-openssl 

These are the blocks that utilize the libraries and packages in the IoT bundle for their optimum functionality.

ThingSpeak Read (Simulink)MQTT Subscribe (Simulink)
ThingSpeak Write (Simulink)TalkBack Read (Simulink)
MQTT Publish (Simulink)TalkBack Write (Simulink)

Dashboard Bundle

This bundle is an elective option in the Hardware Setup screen that downloads and installs the libraries and packages supporting deployment of the Simulink models on web-based dashboards. This bundle allows you to create user interfaces, visualizations, and control panels for real-time monitoring and control of Simulink models using Simulink Support Package for Raspberry Pi Hardware.

These are the libraries and packages included in the Dashboard bundle.

chromium-browserpython3_cffi
nnpytornado

These are the blocks that utilize the libraries and packages in the Dashboard bundle for their optimum functionality.

Modbus Bundle

This bundle is an elective option in the Hardware Setup screen that downloads and installs the libraries and packages supporting the Modbus® communication protocol for Simulink Support Package for Raspberry Pi Hardware. This bundle ensures an optimum integration of the Modbus protocol and devices such as industrial sensors and controllers for data acquisition and control with these support packages.

These are the libraries and packages included in the Modbus bundle.

libmodbus_dev 

These are the blocks that utilize the libraries and packages in the Modbus bundle for their optimum functionality.

Interprocess Communication Bundle

This bundle is an elective option in the Hardware Setup screen that downloads and installs the libraries and packages supporting the publish/subscribe protocol for all the interprocess communications with Simulink Support Package for Raspberry Pi Hardware. This bundle ensures an optimum integration of the publish/subscribe protocol and devices in a system that require timely data exchange, such as control systems, industrial automation, and robotics with these support packages.

These are the libraries and packages included in the interprocess communication bundle.

nngninja_build

These are the blocks that utilize the libraries and packages in the interprocess communication bundle for their optimum functionality.

NNG Send (Simulink)NNG Receive (Simulink)

See Also