How to change the signal update rate in Simulation Data Inspector

9 次查看(过去 30 天)
I'm working with simulink real-time and inspecting signals in simulation data inspector. It seems that the signals logging in SDI update as slowly as about every one second. Can we set it to update as fast as the sample time, for example 10ms. Looking forward to your kind reply.

回答(1 个)

Spruha
Spruha 2025-3-27
Hi Xingxing,
My understanding is that signal logging in SDI is a bit slow. This may arise due to following reasons:
  • If the decimation factor is set to a value greater than 1, it will log data at a reduced rate.
  • The computer running the simulation might be limited by CPU, memory, or other resources, which can slow down the processing and display of signals in SD.
  • Logging too many signals or very high-frequency data can overwhelm the system which slows down the SDI.
  • A complex model with numerous calculations and interactions can slow down the simulation, affecting how quickly data is processed and displayed.
You may refer to the discussion on MATALB Answers community to know about several actions that can be taken to resolve this issue: https://www.mathworks.com/matlabcentral/answers/882723-how-can-i-improve-the-live-streaming-performance-of-simulation-data-inspector-sdi-or-dashboard-blo
Hope this helps.

类别

Help CenterFile Exchange 中查找有关 View and Analyze Simulation Results 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by