How to take a picture with raspberry pi in simulink?

1 visualización (últimos 30 días)
Franziska Schmierer
Franziska Schmierer el 23 de Nov. de 2017
Editada: Walter Roberson el 30 de Nov. de 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!

Respuestas (2)

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

Iniciar sesión para comentar.


Madhu Govindarajan
Madhu Govindarajan el 30 de Nov. de 2017
Editada: Walter Roberson el 30 de Nov. de 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

Categorías

Más información sobre Raspberry Pi Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by