Using Simulink Previous page   Next Page

Running a Simulation Programmatically

Entering simulation commands in the MATLAB Command Window or from an M-file enables you to run unattended simulations. You can perform Monte Carlo analysis by changing the parameters randomly and executing simulations in a loop. You can use either the sim command or the set_param command to run a simulation programmatically. Both are described below.


Previous page  Improving Simulation Accuracy Using the sim Command Next page

© 1994-2005 The MathWorks, Inc.