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
addPhaseInSerial
function 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 thephaseType
argument as"ParallelPhase"
to create aParallelPhase
object.The
addPhaseInParallel
function 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 thephaseType
argument as"ParallelPhase"
to create aParallelPhase
object.The
addPhase
function 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 thephaseType
argument as"ParallelPhase"
to create aParallelPhase
object.
Properties
Examples
Version History
Introduced in R2025a
See Also
addPhaseInSerial
| addPhaseInParallel
| SerialPhase
| PhaseLogic
| ActorActionPhase