R2025a: Simulink scope does not show full data resolution when zooming in during simulation

68 次查看(过去 30 天)
Hi all,
I use Simulink to run Simulations over long time-ranges (up to 1 year). Because the simulation run for up to 18 hours I use simulink scopes to monitor signals while the simulation is still running (e.g. to evaluate if newly programmed logics work as expected).
I realised that in R2025a the signals are no longer shown in full data resolution when zooming in during the simulation. Before I used R2023b and there the data was shown in full resolution.
Following example shows the difference between R2023b (expected behaviour) and R2025a:
R2023b:
R2025a:
Both images show the same time-range in the same scope of the same model during simulation.
In the scope settings under logging both "Limit dat points to last" and "Decimation" are disabled.
After the simulation is finished the signals in R2025a are also shown in full data resolution. The difference between the versions only appears during simulation.
Are there any possibilities to get the same behaviour during the simulation as in R2023b? As our simulations run for multiple hours it is important to have the possibility to evaluate the signals even before the simulations are finished.

回答(1 个)

S@m
S@m 2025-8-5,4:23
Hi Simon,
I also encountered the same issue while working with the Simulink in R2025a. I observed the Scope block shows a decimated view of the signal while the simulation is still in progress. The full-resolution data is available only after the simulation finishes.
If you need to examine data at full resolution during an ongoing simulation, consider using the Simulation Data Inspector (SDI) with signal logging enabled. Within SDI, you can zoom in and out on the logged signals at any time without any loss of resolution.
To do this, right-click the desired signal and select "Log selected signals." Then, open SDI from the Simulation tab and start the simulation. For more details on inspecting signals with SDI, refer to the MATLAB documentation link given below.
  1 个评论
Simon Scholler
Simon Scholler 2025-8-5,11:23
编辑:Simon Scholler 2025-8-6,13:48
Hi S@m,
thanks for your answer. SDI is for sure an interesting way to evaluate the signals as it is very flexible and allows to compare all signals over the whole model against each other dynamically.
However I don't think it's suitable to replace scopes in that specific use case. The scopes in my model are specifically formated and designed for the information they show. E.g. one scope shows the most important signals of Subystem A, another one the most important signals of Subsystem B etc. In the SDI, as I understand it, I always would need to deselct the signals of Subsystem A and then select the signals of Subystem B if I want to switch. With scopes I just have to double-click the specific block. With scopes, it is easy to create a formated template that I can reuse for multiple models and simulation.
Also, I think the scopes should still be able to display data in full resolution during simulation, just like in previous versions. For me, the current behavior is a bug. And switching from one visualization tool to another one is not an acceptable solution in that use case.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

标签

产品


版本

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by