| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
| On this page… |
|---|
After you complete the model block diagram, you can simulate the system and visualize the results. This section describes how to simulate the sample model you created in the previous section, Creating a Simple Model.
Before simulating a model, you can set simulation options such as the start and stop time, and the type of solver that Simulink software uses to solve the model at each time step. You specify these options using the Configuration Parameters dialog box.
To specify simulation options for the sample model:
Select Simulation > Configuration Parameters in the model window.
The software displays the Configuration Parameters dialog box.

Enter 20 in the Stop time field.
Click OK.
The software applies your changes to the parameters and closes the Configuration Parameters dialog box.
Note For more information on Simulink configuration parameters, see Configuration Parameters Dialog Box in the Simulink online documentation. |
Now you are ready to simulate your example model and observe the simulation results.
To run the simulation:
Select Simulation > Start in the model window.
The software runs the model, stopping when it reaches the stop time specified in the Configuration Parameters dialog box.
Double-click the Scope block in the model window.
The Scope window displays the simulation results.

Select File > Save in the model window.
The software saves the model.
Select File > Close in the model window.
The software closes the model.
![]() | Creating a Simple Model | Modeling a Dynamic Control System | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |