How to take a picture with raspberry pi in simulink?

1 回表示 (過去 30 日間)
Franziska Schmierer
Franziska Schmierer 2017 年 11 月 23 日
編集済み: Walter Roberson 2017 年 11 月 30 日
Hey, i have the Video capture block and it's conacted with a raspberry pi and how can i take a picture in simulink? Can i creat a Matlab function? Thx!

回答 (2 件)

Walter Roberson
Walter Roberson 2017 年 11 月 23 日
Note from https://www.mathworks.com/help/supportpkg/raspberrypi/ref/v4l2videocapture.html "During simulation, the model outputs a moving colorbar image." In other words, the block only has useful images when deployed.
  2 件のコメント
Franziska Schmierer
Franziska Schmierer 2017 年 11 月 23 日
Thanks, but how can i take a picture and save this on PC? Yes during deploying.
Walter Roberson
Walter Roberson 2017 年 11 月 23 日
tcp block connecting back to a model running on the host.
I do not know if there is another way.

サインインしてコメントする。


Madhu Govindarajan
Madhu Govindarajan 2017 年 11 月 30 日
編集済み: Walter Roberson 2017 年 11 月 30 日
Here is a link that I found that I think has the answer, let us know if this works. https://www.mathworks.com/matlabcentral/answers/122727-creating-files-on-raspberry-pi-with-simulink#answer_130766

カテゴリ

Help Center および File ExchangeRaspberry Pi Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by