Raspberry monitor output device with Simulink Libraries for Raspberry Pi in Matlab 2013
5 views (last 30 days)
Show older comments
Hallo, I'm trying to utilize the LCD monitor that I've connected to my Raspberry Pi.
I'm using the Raspberry Pi Simulink libraries to do that but I've didn't understood how to axcess to the monitor device of the Raspberry Pi. I'm using MATLAB r2013a and MATLAB r2013b with the Simulink libraries for Raspberry Pi connection.
For exemple I'm able to acquire images from the USB webcam connected to my Rasberry Pi and send them to the Host PC monitor by LAN connection. How to visualize the images on the Raspberry Pi monitor device instead? And how to make an XY plot?
Thank you.
0 Comments
Answers (1)
Murat Belge
on 6 Mar 2014
There is an "SDL Video Display" block in the Simulink library for Raspberry Pi. This block takes an RGB or YCbCr image as input and displays the image on the monitor. If you run your model in External Mode, block outputs the image to your host computer's monitor. If you run your model on Raspberry Pi without using External Mode, the block outputs the image to the HDMI monitor connected to the Raspberry Pi. Take a look at the Image Inversion demo to see how you can utilize the SDL Video Display block in two different run modes.
5 Comments
Georg Rauter
on 5 Jan 2021
Thanks a lot for your comment Graziano. Worked perfectly for me.
Best, Georg
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!