How to get data for a steady state.

3 ビュー (過去 30 日間)
Masazumi Akiya
Masazumi Akiya 2015 年 3 月 23 日
コメント済み: Masazumi Akiya 2015 年 3 月 24 日
Using the same sample time of scopes and changing value, we can't get data of a steady state. Can I add a offset to sample time?

採用された回答

Christiaan
Christiaan 2015 年 3 月 23 日
編集済み: Christiaan 2015 年 3 月 23 日
Dear Masazumi,
The simulation time 't' in Simulink ist time the programm has elapsed (inside the system) during the execusion. Therefore (from definition) an offset can not be given. (Here I do not mean the physical time that has ellapsed)
It is possible that the scope has reached an overflow of data in its buffer . If you double click on your scope and you click on the tab 'History' you can increase the number of data points that the scope can display. In the tab 'General' you can define a certain time range if nessesary. Also you could use a 'To Workspace' block or 'To File' block to save the data in the workspace and plot afterwards.
If you like to enable a subsystem in simulink, you can use a 'Enables Subsystem' block, to only calculate the values inside the block when a certain condition is high. For example you could use a 'clock' and an 'compare to constant' to enable this subsystem at a certain time.
Good luck! Christiaan
  1 件のコメント
Masazumi Akiya
Masazumi Akiya 2015 年 3 月 24 日
Thank you for your replying, Christiaan.

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by