| Using Simulink | Search  Help Desk |
Running a Simulation from the Command Line
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 run a simulation from the command line using thesim command or the set_param command. Both are described below.