Is it possible to run MATLAB image processing program on a raspberry pi 3 without it being connected to the host computer?
1 view (last 30 days)
Show older comments
This is our first time using Raspberry Pi 3 and it seems that MATLAB is not as compatible with the pi when compared to using JAVA. We are having troubles getting a simple MATLAB code to run on the pi without it being directly connected to the host computer that has the program on it. Is there a way to get the MATLAB program to run by itself when the pi starts?
0 Comments
Answers (1)
Walter Roberson
on 22 Sep 2016
Yes, it is possible. See https://www.mathworks.com/matlabcentral/answers/112443-build-standalone-application-running-in-raspberry-pi
Note: you might need R2016b for support of your Raspberry Pi 3.
2 Comments
Walter Roberson
on 22 Sep 2016
The known way to do that is to create a Simulink model that calls upon the MATLAB code, and then generate for Raspberry Pi target; see http://www.mathworks.com/matlabcentral/answers/246147-how-to-flash-m-file-to-raspberry-pi-making-it-standalone-system-using-matlab-support-package-for
I have no information about the steps that would be necessary to tell MATLAB Coder to target Raspberry Pi. Mathwork's words on this are http://www.mathworks.com/hardware-support/raspberry-pi-matlab.html
"To develop applications for the Raspberry Pi to be used in standalone operation, please see the Raspberry Pi Support from Simulink®."
See Also
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!