Aerospace Blockset | ![]() ![]() |
Model Simulation
You can run the simulation block diagram that you built to see how the system behaves in time:
0.62832
for Time
range. This resizes the scope's time axis to display only one cycle of the
signal.
1
or 20
in the
Frequency field. Click Apply after entering each new value and 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.
![]() | Modeling with the Aerospace Blockset | Learning More About Simulink and Aerospace Blockset | ![]() |