How to create GUI for PI camera using Matlab
4 views (last 30 days)
Show older comments
Vikesh Kumavat
on 2 Jan 2018
Edited: Vikesh Kumavat
on 2 Jan 2018
I am working on one of the project in which i want to create GUI using matlab for PI camera connected to raspberry pi 3.
0 Comments
Accepted Answer
Walter Roberson
on 2 Jan 2018
It is not possible to run m code files on raspberry pi.
You can potentially use MATLAB Coder to generate code for raspberry pi, but MATLAB Coder does not know anything special about raspberry pi. The current way to program the raspberry pi without writing the C code yourself, is to create a Simulink model (which can call upon MATLAB Function blocks) and tell Simulink to Deploy To Hardware.
0 Comments
More Answers (1)
Malhar Ashtaputre
on 2 Jan 2018
Edited: Walter Roberson
on 2 Jan 2018
Hello Vikesh,
If you are using simulink platform to connect to raspberry pi, then you need to follow the following link to create a GUI.
I suggest to use event listeners (a bit complex but efficient).
In simulink you can directly connect your PI camera with raspberry pi simulink library support.
I suggest to use simulink instead of script as you can then run program standalone in case of simulink. (In case of script i am not sure whether you can run standalone).
For running standalone codes on raspberry pi in simulink, check following link.
0 Comments
See Also
Categories
Find more on Run on Target 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!