getScenarioDescriptor
Extract properties from input scenario to generate scenario variants
Since R2022b
Syntax
Description
extracts the properties of an input scenario descriptor = getScenarioDescriptor(scenario)scenario and stores these
properties in a ScenarioDescriptor object,
descriptor, for scenario variant generation.
also specifies the simulator descriptor = getScenarioDescriptor(scenario,Simulator=simulator)simulator used by the input scenario
scenario.
Note
This function requires the Automated Driving Toolbox™ Test Suite for Euro NCAP® Protocols support package. You can install the Automated Driving Toolbox Test Suite for Euro NCAP Protocols support package from the Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
Examples
Input Arguments
Output Arguments
Tips
To get a scenario from a
ScenarioDescriptorobject, use thegetScenariofunction.