Scope in Simulink does not display waveform correctly

21 ビュー (過去 30 日間)
Michail
Michail 2014 年 12 月 2 日
コメント済み: Amira benAmeur 2017 年 8 月 10 日
Hello!
In Simulink I implement a very simple circuit with an AC voltage source (110kV,50Hz) in series with a Resistance R=1 Ohm and PowerGUI set to Discrete (Ts=5e-5s). I use also a "voltage measurement" block and a Scope to display the voltage waveform of the source. When I set the "Stop simulation time" to 0.2s the waveform is displayed from 0 to 0.2s as it was expected but when I set it to 0.4s it starts from around 0.15s (???). The same behavior occurs when I just use "Sine wave function" block with a Scope. There is something wrong with the scope because when I plot through the workspace everything is ok.
I would be grateful if somebody has a solution on this issue and could share it!
Regards, Michail

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 12 月 2 日
編集済み: Azzi Abdelmalek 2014 年 12 月 2 日
I suppose your sample time is very small, in the scope parameters-history uncheck limit data point to last
  2 件のコメント
Michail
Michail 2014 年 12 月 2 日
Perfectly right! Thank you very much for your help!
Amira benAmeur
Amira benAmeur 2017 年 8 月 10 日
Thank you for your help!

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

その他の回答 (1 件)

Alireza Babaloo
Alireza Babaloo 2016 年 2 月 3 日
I had the same problem thanks.

カテゴリ

Help Center および File ExchangeScopes and Data Logging についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by