How to create GUI for PI camera using Matlab

1 回表示 (過去 30 日間)
Vikesh Kumavat
Vikesh Kumavat 2018 年 1 月 2 日
編集済み: Vikesh Kumavat 2018 年 1 月 2 日
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
Malhar Ashtaputre 2018 年 1 月 2 日
編集済み: 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 Center および File ExchangeRun on Target Hardware についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by