Discontinuous display in Simulink Scope

2 ビュー (過去 30 日間)
Ximeng Wu
Ximeng Wu 2022 年 4 月 22 日
コメント済み: Ximeng Wu 2022 年 5 月 3 日
Hi, I am running a simulink model, however, some of the signals are not displayed properly in the Scope. They are discontinuous in the scope, but if I export the data to workspace and plot them, they are continuous. Anyone knows how to solve this issue? Thank you.
Signal data in scope
I have checked the limit data points option and simulation period in the scope settings.

回答 (1 件)

VBBV
VBBV 2022 年 4 月 22 日
Select the plot type as Auto in scope block. This plots the graph as continuous signals instead of discrete ones which you have.
  12 件のコメント
Ximeng Wu
Ximeng Wu 2022 年 5 月 3 日
Thanks for your reply. I found the reason, it seems it is caused by different sampling time settings for different subsystems, if I use the scope inside the subsystem, it is discontinuous, if I output the signal and use the scope outside the subsystem, it is continuous. For now, I have this solution.

サインインしてコメントする。

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by