Why Time Display Offset not offsetting?

3 ビュー (過去 30 日間)
CHAO LI
CHAO LI 2018 年 1 月 9 日
コメント済み: CHAO LI 2018 年 1 月 9 日
"The actual range of values that the block displays on the time axis depends on the value of both the Time span and Time display offset parameters. See the following figure." This is the instruction from SIMULINK documents. I followed the same, but the simulation value still stay the same.
What I want to do is to only show values after 10 seconds of the simulation time. But this is what I am getting in the scope. The oscillation is still showing. Anyone knows how to offset this?

回答 (1 件)

Birdman
Birdman 2018 年 1 月 9 日
See the attached model. It starts to display the sine wave after 10 seconds. You can change the offset value from Constant block. Run it and let me know the results. Adapt this concept into your model.
  1 件のコメント
CHAO LI
CHAO LI 2018 年 1 月 9 日
Hi Birdman, Thank you for the help. I like your answer, but it is a last resolute to me. I like something more natural. I gave up the scope and instead I am converting that to a figure to show the result now. Thanks

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

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by