ExternalPlatform
Description
The ExternalPlatform object represents the platform of a
behavior asset defined in an external platform, such as CARLA. The ExternalPlatform object enables you to specify a
behavior file defined in CARLA to associate to a BehaviorAsset in your
RoadRunner scenario. For more information on cosimulating scenarios with CARLA, see CARLA Cosimulation Workflow (RoadRunner Scenario).
Creation
To create an ExternalPlatform object, use the setPlatform function and
specify the platformType argument as
"ExternalPlatform".
For example, given the BehaviorAsset object
extBehavior, specifying extPlatform =
setPlatform(extBehavior,"ExternalPlatform"); creates an
ExternalPlatform object, extPlatform, and assigns it
to the Platform property of extBehavior.
To associate the ExternalPlatform object with a behavior file, you must
set the ModelLocation property. The specified behavior file must
originate from CARLA.
Properties
Version History
Introduced in R2025b
See Also
createAsset | setPlatform | BehaviorAsset | RoadRunnerPlatform | SimulinkPlatform
Topics
- Scenario Parameters (RoadRunner Scenario)
- Built-In Behavior for Vehicles (RoadRunner Scenario)
- CARLA Cosimulation Workflow (RoadRunner Scenario)