You can interactively and programmatically start, stop, and pause individual simulations from the Simulink® Editor. You can view your simulation results live and interact with the simulation in various ways, including changing tunable parameters. You can also step forward or back through a simulation, and perform iterative simulations without recompiling your model.
With programmatic simulation, you can run and control simulations from the MATLAB® command prompt. You can also programmatically enable simulation timeouts, capture simulation errors, and access simulation metadata.
Using the multiple simulations API, you can provide a collection of inputs to
a model and run multiple simulations with these inputs. With the
parsim function, you can run multiple simulations in
parallel. This is useful in situations such as model testing, design of
experiments, Monte Carlo analysis, and model optimization.