Simulink Support Package for Raspberry Pi Hardware
Run models on Raspberry Pi.
68,5K Downloads
Aktualisiert
13. Nov 2024
Anmerkung des Herausgebers: Popular File 2018
This file was selected as MATLAB Central Pick of the Week
Simulink® Support Package for Raspberry Pi™ Hardware enables you to create and run Simulink models on Raspberry Pi hardware.
The support package includes:
● Library of Simulink blocks for configuring and accessing Raspberry Pi I/O peripherals and communication interfaces.
● Connected I/O to communicate with the IO peripherals on the hardware during Normal mode simulation.
● Monitor and Tune mode of operation which enables you to interactively monitor and tune algorithms developed in Simulink as they run on Raspberry Pi.
● Dedicated MATLAB App - Raspberry Pi Resource Monitor - to manage deployed applications and other hardware peripherals connected to Raspberry Pi.
Highlights:
● Support for industry-standard communication protocols like TCP/IP, UDP, WebSocket, CAN(MCP2515).
● Read and write blocks to communicate with peripherals over Serial, SPI, and I2C protocols
● ALSA based Audio Capture and Audio Playback blocks
● Video Capture and Display blocks that supports USB webcam and the camera board
● Servo and PWM blocks to control a motor connected to Raspberry Pi GPIO pins.
● Publish and subscribe blocks for MQTT client support for machine-to-machine and IoT applications
● ThingSpeak Read and Write blocks for direct integration with ThingSpeak IoT framework
● Log signals from Simulink models to a MAT file within the Raspberry Pi SD card.
Simulink Coder™ lets you access the C code generated from Simulink and trace it back to the original model. Embedded Coder® lets you generate optimized code, use code replacement libraries, and perform software-in-the-loop and processor-in-the-loop verification.
This support package is functional for R2014a and beyond.
If you have download or installation problems, please contact Technical Support:
https://www.mathworks.com/support/contact_us.html
To know more about the supported Raspberry Pi boards and other features, visit:
https://www.mathworks.com/hardware-support/raspberry-pi-simulink.html
If you have specific questions, please refer to MATLAB Answers, where you can get help from both qualified specialists and the community:
https://www.mathworks.com/matlabcentral/answers/?term=Raspberry+Pi
NOTES:
● For MATLAB R2016b and earlier versions, this support package is currently unable to download third-party software. For details and workaround, see this Bug Report https://www.mathworks.com/support/bugreports/1741173.
● MATLAB R2017a and later versions are unaffected.
Kompatibilität der MATLAB-Version
Erstellt mit
R2016b
Kompatibel mit R2016b bis R2024b
Plattform-Kompatibilität
Windows macOS (Apple Silicon) macOS (Intel) LinuxKategorien
- Simulink > Simulink Supported Hardware >
- Signal Processing > Signal Processing Toolbox > Signal Generation and Preprocessing >
- Test and Measurement > Data Acquisition Toolbox > Hardware Discovery and Setup >
- Wireless Communications > Communications Toolbox > Supported Hardware – Software-Defined Radio >
- Code Generation > Embedded Coder > Deployment, Integration, and Supported Hardware > Embedded Coder Supported Hardware >
Mehr zu Simulink Supported Hardware finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert: RASPI_CAR_CONTROLLED_OVER_WIFI_AND_LIVE_STREAM, netHAT EtherCAT Slave Block SFunction for Raspberry Pi, Control Raspberry Pi from your Android Device using Simulink, Device Drivers
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.