# MATLAB: How to obtain a screenshot from the Simulink Real-Time target screen

screenscreenshotSimulink Real-Timeslrttarget

I would like to get screenshots from the display connected to my Simulink Real-Time target. Is this possible?

#### Best Answer

• Using R2020a and earlier:
To obtain a screenshot from the target screen, you can use the following function in the MATLAB command line:
>> viewTargetScreen(tg)
To use this function, the target needs to be connected to the host and running. See the following documentation page for more info:
Using R2020b and later:
The new QNX RTOS has no more GUI. To view the status monitor from the development computer, you can use PuTTY to open an SSH client and start the status monitor application
/usr/target/bin/statusmonitor
on the target computer. For more information, see Target Computer Status Monitor.