Raspberry monitor output device with Simulink Libraries for Raspberry Pi in Matlab 2013

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.

Answers (1)

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

Thank you! This has been really really helpful! My problem was that I'm using the coaxial video output that, as you say... doesn't work :-) I'll change my monitor, with an HDMI monitor.
Everybody knows how to show a matlab GUI on the raspberry HDMI monitor? Even a blank empty one (GUI) is good as example.
Thank you.
Sorry I didn't get it. Can you explain how the GUI is displayed in HDMI display port for standalone application
Hello guys,
In my rasp, even after deploying, it continues not showing any images in hdmi of rasp, using SDL viwer for rasp from simulink.
clues?
Thanks a lot for your comment Graziano. Worked perfectly for me.
Best, Georg

Sign in to comment.

Products

Asked:

on 5 Mar 2014

Commented:

on 5 Jan 2021

Community Treasure Hunt

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

Start Hunting!