How to create GUI for PI camera using Matlab

2 次查看(过去 30 天)
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.

采纳的回答

Walter Roberson
Walter Roberson 2018-1-2
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.

更多回答(1 个)

Malhar Ashtaputre
编辑:Walter Roberson 2018-1-2
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.

类别

Help CenterFile Exchange 中查找有关 Run on Target Hardware 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by