MATLAB Answers

Time-range simulation in Simulink

91 views (last 30 days)
George
George on 16 Jul 2013
Answered: Ilya on 9 Apr 2015
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?

  0 Comments

Sign in to comment.

Answers (2)

Azzi Abdelmalek
Azzi Abdelmalek on 16 Jul 2013
Edited: Azzi Abdelmalek on 16 Jul 2013
You must change some setting in your scope properties:
click on your scope properties, then choose history and uncheck limit data points to last

  0 Comments

Sign in to comment.


Ilya
Ilya on 9 Apr 2015
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

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!