matlab with raspberry pi 3
Show older comments
helllo
my question about how i send data from matlab to raspberry
i connect raspberry with matlab and connect it with raspberry cam and take apic and analysis that pic by matlab and i need to retern any think (logic 1 for example)to raspberry
can i do that ?
Answers (1)
Mark Sherstan
on 27 Apr 2019
0 votes
Look at the answer provided here. You may need to download some additional packages depending on the approach you take:
- https://www.mathworks.com/hardware-support/raspberry-pi-matlab.html
- https://www.mathworks.com/hardware-support/raspberry-pi-simulink.html
- https://www.mathworks.com/hardware-support/raspberry-pi-matlab-coder.html
8 Comments
Nida Aleqabie
on 27 Apr 2019
Mark Sherstan
on 27 Apr 2019
Unless you need the GPIO pins, protability, or other RPi features I would reccomend just using a Webcam.
Nida Aleqabie
on 27 Apr 2019
Walter Roberson
on 27 Apr 2019
What are you using the GPIO pins for?
Nida Aleqabie
on 27 Apr 2019
Nida Aleqabie
on 28 Apr 2019
Walter Roberson
on 28 Apr 2019
There is support for input and output for Raspberry Pi with MATLAB Coder; it was added a small number of releases ago https://www.mathworks.com/hardware-support/raspberry-pi-matlab-coder.html
In the past, the easiest way to handle this situation has been to use Simulink, which has a Pi camera block and has communication blocks, and you can configure to target the Pi hardware.
Nida Aleqabie
on 28 Apr 2019
Categories
Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!