How to take a picture with raspberry pi in simulink?

1 次查看(过去 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 CenterFile Exchange 中查找有关 Raspberry Pi Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by