how to adjust the time axis in Simulink scope

15 views (last 30 days)
Lau Boon Chong
Lau Boon Chong on 17 Nov 2018
Commented: john on 5 Feb 2025 at 11:50
Hi all,
I have adjust the maxium time axis is 20s but the simulation stop until 10s as shown in the attached picture. Please help, thank you
  1 Comment
john
john on 5 Feb 2025 at 11:50
is it possible that you run the simulation for 10 secs?

Sign in to comment.

Answers (1)

Raag
Raag on 5 Feb 2025 at 11:32
Hi Lau Boon Chong,
To modify the stop time of Simulink model, follow these steps:
  • Open the Model: Start by opening the Simulink model.
  • Access the Configuration Parameters:
  1. Go to the Simulation menu.
  2. Select Model Configuration Parameters’.
  • Change the Stop Time:
  1. In the Solver tab, look for the Stop time field.
  2. Enter the desired stop time (e.g., 20 seconds).
  • Apply Changes:Click ‘Apply’ and then ‘OK’ to save the changes.
For more information on Stop Time, refer to this documentation:
https://www.mathworks.com/help/simulink/gui/stoptime.html

Categories

Find more on Event Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!