How to create GUI for PI camera using Matlab

1 visualización (últimos 30 días)
Vikesh Kumavat
Vikesh Kumavat el 2 de En. de 2018
Editada: Vikesh Kumavat el 2 de En. de 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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 2 de En. de 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.

Más respuestas (1)

Malhar Ashtaputre
Malhar Ashtaputre el 2 de En. de 2018
Editada: Walter Roberson el 2 de En. de 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.

Categorías

Más información sobre Run on Target Hardware en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by