Main Content


Specify options for customizing RoadRunner files exported to ASAM OpenSCENARIO 2.0 format

Since R2022a


    The openScenario2ExportOptions object enables you to specify options for customizing RoadRunner scene and scenario files exported to the ASAM OpenSCENARIO® 2.0 format.



    options = openScenario2ExportOptions creates a default ASAM OpenSCENARIO 2.0 export options configuration object with default property values for the configuration.

    options = openScenario2ExportOptions(OpenDriveOptions=openDriveExportOptions) specifies export options for the ASAM OpenDRIVE® file by setting the OpenDriveOptions property as the value of the openDriveExportOptions object.


    expand all

    Export options for the ASAM OpenDRIVE file, specified as an openDriveExportOptions object.

    Example: options = openScenario2ExportOptions(OpenDriveOptions=openDriveExportOptions(ExportObjects=true)); specifies for RoadRunner to also export all scene props as <object> entries when exporting an ASAM OpenDRIVE file.

    Version History

    Introduced in R2022a