ParallelPhase
Specify options for customizing logic phase that executes child phases concurrently
Since R2025a
Description
A ParallelPhase object represents a parallel logic phase in the
RoadRunner scenario logic. Parallel phases execute their child phases concurrently during
simulation.
Creation
You can create a ParallelPhase object in these ways:
The
addPhaseInSerialfunction creates a logic phase with the specified phase type, and adds it before or after the specified existing phase in the RoadRunner scenario logic. Specify thephaseTypeargument as"ParallelPhase"to create aParallelPhaseobject.The
addPhaseInParallelfunction creates a phase with the specified type and adds it in parallel to the specified existing phase or serial sequence of phases in the RoadRunner scenario logic. Specify thephaseTypeargument as"ParallelPhase"to create aParallelPhaseobject.The
addPhasefunction creates a new phase of the specified type and adds it as the last child of the specified serial or parallel phase in the RoadRunner scenario logic. Specify thephaseTypeargument as"ParallelPhase"to create aParallelPhaseobject.
Properties
Examples
Version History
Introduced in R2025a
See Also
addPhaseInSerial | addPhaseInParallel | SerialPhase | PhaseLogic | ActorActionPhase