Azzera filtri
Azzera filtri

How to take a picture with raspberry pi in simulink?

2 visualizzazioni (ultimi 30 giorni)
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!

Risposte (2)

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

Accedi per commentare.


Madhu Govindarajan
Madhu Govindarajan il 30 Nov 2017
Modificato: Walter Roberson il 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

Categorie

Scopri di più su Raspberry Pi Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by