How to take a picture with raspberry pi in simulink?

1 Ansicht (letzte 30 Tage)
Franziska Schmierer
Franziska Schmierer am 23 Nov. 2017
Bearbeitet: Walter Roberson am 30 Nov. 2017
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!

Antworten (2)

Walter Roberson
Walter Roberson am 23 Nov. 2017
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 Kommentare
Franziska Schmierer
Franziska Schmierer am 23 Nov. 2017
Thanks, but how can i take a picture and save this on PC? Yes during deploying.
Walter Roberson
Walter Roberson am 23 Nov. 2017
tcp block connecting back to a model running on the host.
I do not know if there is another way.

Melden Sie sich an, um zu kommentieren.


Madhu Govindarajan
Madhu Govindarajan am 30 Nov. 2017
Bearbeitet: Walter Roberson am 30 Nov. 2017
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

Community Treasure Hunt

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

Start Hunting!

Translated by