Simulink Scope Time Control

90 ビュー (過去 30 日間)
Steven
Steven 2017 年 6 月 7 日
コメント済み: DGM 2024 年 5 月 13 日
I have a simulation, because it has an integrated control system, I would like the scope to not capture until it has reached a steady state condition. There is no way to set the initial conditions of the whole simulation to a steady state. What is the best way to accomplish this? I have tried experimenting with the time delay offset and time span in the settings of the simulink scope with no luck.
Again How can I use the scope to only display a certain portion of the simulation? Like if my simulation runs from 0 to 100s, how can I get a scope capture of an arbitrary range, like 33s to 42s?
I would also be just as happy if there were some way delay the scope from capturing data, like 30s to the end.
  1 件のコメント
Steven
Steven 2017 年 6 月 9 日
Other simulators (spice packages) have the ability to delay graphing for this reason.

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

回答 (1 件)

Arnav Mendiratta
Arnav Mendiratta 2017 年 6 月 13 日
From the Scope window, go to View -> Configuration Property -> Time tab and set the 'Time Span' and Time display offset' to the desired values. The scope block calculates the beginning and end times of the time range using the Time display offset and Time span properties. For example, if you set the Time display offset to 10 and the Time span to 20, the scope sets the time range from 10 to 30.
  1 件のコメント
DGM
DGM 2024 年 5 月 13 日
Flagged by William on 8 Dec 2023:
This does not work, it just offsets my graph.

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

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by