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.
0 个评论
回答(1 个)
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!