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

16 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2011 年 4 月 15 日
編集済み: MathWorks Support Team 2025 年 10 月 31 日 18:11
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 2025 年 10 月 31 日 18:11

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 Center および File ExchangeTarget Computer Setup についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by