How can I view the Speedgoat target screen on my host computer?

조회 수: 15 (최근 30일)
Can I view the display connected to my Speedgoat target on my host computer to monitor the Simulink Real-Time (SLRT) simulation and take screenshots?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2025년 10월 31일 0:00
편집: MathWorks Support Team 대략 22시간 전

For R2020b and later:

To view the status monitor from your development computer, use an SSH utility (such as PuTTY) to connect to the Speedgoat target. Follow steps 1-5 in the following documentation:
In the SSH session, start the status monitor by entering:
statusmonitor
For status monitor keyboard commands, refer to: Target Computer Status Monitor
Alternative options to retrieve status information from MATLAB:
If you have access to MATLAB & Simulink Real-Time, you can retrieve status information about the target computer using target object properties and functions such as getVersion (R2023a+):
tg = slrealtime:
getVersion(tg);
tg.TargetStatus;
tg.ModelStatus;
To observe target execution times (TET) for possible overruns, or the console log in real-time, use TET Monitor and System Log Viewer in SLRT Explorer as an alternative. Open them directly by entering:
>> slrtTETMonitor
>> slrtLogViewer
To view the system log in an SLRT app created with MATLAB App Designer, add a SystemLog UI component. To access the system log programmatically, use slrealtime.SystemLog.

For R2020a and earlier:

Live viewing the target screen GUI on the host computer is not possible. To obtain a screenshot from the target screen, you can use the following function in the MATLAB command line:
>> tg = slrt;
>> viewTargetScreen(tg)
To use this function, the target needs to be connected to the host and running.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by