MATLAB Answers

Time-range simulation in Simulink

11 ビュー (過去 30 日間)
George
George 2013 年 7 月 16 日
回答済み: Ilya 2015 年 4 月 9 日
I am trying to simulate a model from 0 to 5 seconds,but I want the scopes to track and store a specific time interval,which does not start from 0.How is that possible?

回答 (2 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 7 月 16 日
編集済み: Azzi Abdelmalek 2013 年 7 月 16 日
You must change some setting in your scope properties:
click on your scope properties, then choose history and uncheck limit data points to last

Ilya
Ilya 2015 年 4 月 9 日
I have the same problem. I simulate from 0 to tend, but need to crop the initial part of simulation (with wild transients, which are also 100% unavoidable) in order to be able to use the "AutoScale" option conveniently. So I'd like the scope to show the data in, say, [3 tend] and not to display the initial time interval [0 3).
I've found no solution so far (the "Time range" option only allows to set the time interval starting from 0), and I think this was the initial problem here as well

Community Treasure Hunt

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

Start Hunting!

Translated by