addPhaseInParallel
Syntax
Description
creates a logic phase with the specified phase type, and adds it in parallel to the
specified existing phase or serial sequence of phases. If the existing phases are not
already children of a parallel phase, RoadRunner Scenario creates a new parent parallel phase. If you specify more than one phase, the
phases must be consecutive children of a serial
phase.rrPhase
= addPhaseInParallel(rrLogic
,existingPhaseSequence
,phaseType
)
also specifies the position in the logic sequence at which to insert the new phase relative
to the specified existing phase or serial sequence of phases.rrPhase
= addPhaseInParallel(rrLogic
,existingPhaseSequence
,phaseType
,Insertion=insertionPosition
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2025a
See Also
roadrunnerAPI
| ParallelPhase
| addPhaseInSerial
| addPhase
| initialPhaseForActor
Topics
- RoadRunner Scenario Fundamentals (RoadRunner Scenario)
- Simulate a RoadRunner Scenario Using MATLAB Functions