uisimcontrols
R2026bDescription
simctrl = uisimcontrols creates simulation controls in a new figure
and returns the SimulationControls object. MATLAB® calls the uifigure function to create the figure. The
simulation controls include a run button and a stop button. The run button has three
states:
Run — The simulation is inactive or initialized. Clicking the button starts the simulation.
Pause — The simulation is running. Clicking the button pauses the simulation.
Continue — The simulation is paused. Clicking the button resumes the simulation.
simctrl = uisimcontrols( creates simulation
controls in the specified parent container. The parent can be a p)Figure
object or one of its child containers.
simctrl = uisimcontrols(___,
creates simulation controls with properties specified by one or more name-value
arguments.Name=Value)
Examples
Input Arguments
Name-Value Arguments
Version History
Introduced in R2024a