| Aerospace Blockset | ![]() |
Running the Simulation
You can now run the simulation block diagram that you built to see how the system behaves in time:
1 or
20 in the Frequency field. Close the Sine Wave dialog box to enter your
change and allow the simulation to continue. You can then observe the
changes on the scope.
Many parameters cannot be changed while a simulation is running. This is usually the case for parameters that directly or indirectly alter a signal's dimensions or sample rate. There are some parameters, however, like the Sine Wave Frequency parameter, that you can tune without terminating the simulation.
Running a Simulation from an M-File
You can also modify and run a Simulink simulation from within a MATLAB M-file. By doing this, you can automate the variation of model parameters to explore a large number of simulation conditions rapidly and efficiently. For information on how to do this, see Running a Simulation Programmatically in the Simulink documentation.
| Building a Simple Actuator System | Case Studies | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |