Why is the Simulink Real-Time "Target Scope" block not available in R2020b or later?

조회 수: 22 (최근 30일)
There is no more "Target Scope" block shipped with Simulink Real-Time R2020b or later releases. It used to be available in 'Graphical' and 'Numerical' modes.
How can I visualize or display the signal data on a screen connected to my Speedgoat target computer in newer releases?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2023년 9월 19일
편집: MathWorks Support Team 2023년 9월 19일
Simulink Real-Time went through a major product update for the R2020b release. Graphics support has been removed as part of this in favor of a more performant SSH shell-based QNX real-time operating system. This means that it will not be possible to visualize signals on the target screen anymore.
As a workaround, visualize the data and signals on the host computer using one of the methods below:

1. Simulation Data Inspector (SDI)

Use Simulation Data Inspector (SDI) to observe signals that you have marked for logging inside your model or using Simulink Real-Time Explorer:
It is also possible to add and remove signals from SDI during runtime without requiring a rebuild, as explained in the MATLAB Answers post below:

2. Simulink Scopes and Dashboard Scopes

You can access live signal plots from the model canvas by adding Simulink Scope or Dashboard Scope blocks to your model. Start the simulation using the "Run on Target" button (external mode).

3. App created with MATLAB App Designer & SLRT App Generator

Design a custom App Designer instrument panel app to stream data using instrument objects. This app can also be deployed as a standalone executable using MATLAB Compiler. See the following MATLAB Answer for an overview:

4. Axes tab in SLRT Explorer

Starting in R2023b, you can add axes as a custom instrumentation tab in SLRT Explorer. For more information, see Customize Instrumentation Display.
 

Additional Notes

(1) It will still be possible to connect a monitor to the target machine. A text-based status log will be visible on the target screen:
(2) To replicate a Target Scope in 'Numerical' mode, printing to the target machine status monitor might be a feasible workaround. An example can be found in the following link:
  댓글 수: 2
Stefanie Schwarz
Stefanie Schwarz 2021년 10월 28일
편집: Stefanie Schwarz 2024년 1월 30일
Hi Allen & Christopher, I am sorry to hear you've had this experience with our Simulink Data Inspector. From my own experience I can tell you that the performance has improved tremendously with our latest R2021b release, so I can only encourage you to always stay up to date with our latest MATLAB release.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Signal Tracing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by