how to adjust the time axis in Simulink scope

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

is it possible that you run the simulation for 10 secs?

Sign in to comment.

Answers (1)

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

Products

Asked:

on 17 Nov 2018

Commented:

on 5 Feb 2025

Community Treasure Hunt

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

Start Hunting!