Time-range simulation in Simulink

6 次查看(过去 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

类别

Help CenterFile Exchange 中查找有关 View and Analyze Simulation Results 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by