how to adjust the time axis in Simulink scope

4 次查看(过去 30 天)
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 个)

Raag
Raag 2025-2-5
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

类别

Help CenterFile Exchange 中查找有关 Configure and View Diagnostics 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by