exportCustomFormat
Export RoadRunner scene or scenario using custom export configuration
Since R2022a
Description
exportCustomFormat(
exports a scene or scenario from the current RoadRunner project using an export configuration defined in the
rrApp,filename,formatname)ExportConfigurations.xml file of the project. You can use this function
with custom configurations that you define yourself, or with built-in configurations
included with RoadRunner Scenario.
Custom configurations — Define your own export configuration in the
ExportConfigurations.xmlfile and specify the corresponding format name. To create a custom configuration, follow these steps:Create an XML file that defines the configuration of the custom export format.
Save the XML file to the
Projectfolder of the RoadRunner project that you want to contain the export option, and name itExportConfigurations.xml.
For more details on creating an
ExportConfigurations.xmlfile, see Export Custom Formats (RoadRunner).Built-in configurations — If you have a RoadRunner Scenario license, the
Projectfolder of each RoadRunner project already includes a defaultExportConfigurations.xmlfile. This file includes built-in configurations for exporting scenarios to simulator-specific ASAM OpenSCENARIO® XML files. You can use these built-in format names directly, or add your own custom configurations to the same file.For more information on simulator-specific ASAM OpenSCENARIO XML file export, see Export Simulator‑Specific ASAM OpenSCENARIO XML Files (RoadRunner Scenario).