How to take a picture with raspberry pi in simulink?
1 view (last 30 days)
Show older comments
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!
0 Comments
Answers (2)
Walter Roberson
on 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 Comments
Walter Roberson
on 23 Nov 2017
tcp block connecting back to a model running on the host.
I do not know if there is another way.
Madhu Govindarajan
on 30 Nov 2017
Edited: Walter Roberson
on 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
0 Comments
See Also
Categories
Find more on Raspberry Pi Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!