Hauptinhalt

configureVUT

Configure VUT parameters for Euro NCAP test scenarios

Since R2026a

Description

configureVUT(euroAssessmentObj,Name=Value) configures the VUT parameters of the Euro NCAP® test scenarios in the input Euro NCAP assessment object euroAssessmentObj using one or more name-value arguments. For example, AssetPath="C:\Truck.fbx" specifies the VUT asset as a truck.

example

Examples

collapse all

Specify a Euro NCAP test name from protocol specification years 2026–2028.

ncapTestName = "CA FC CCFtap";

Create and display a Euro NCAP protocol specification object for protocol specification years 2026–2028.

euroAssessmentObj = euroAssessment(2026)
euroAssessmentObj = 
  euroAssessment with properties:

                 Name: "Euro NCAP"
                 Year: 2026

    StabilizationTime: 3
            AssetPath: "Vehicles/Sedan.fbx"

Configure VUT parameters for the specified Euro NCAP test scenario.

configureVUT(euroAssessmentObj,StabilizationTime=2,AssetPath="Vehicles/Truck.fbx")
ans = 
  euroAssessment with properties:

                 Name: "Euro NCAP"
                 Year: 2026

    StabilizationTime: 2
            AssetPath: "Vehicles/Truck.fbx"

Input Arguments

collapse all

Euro NCAP assessment protocol specifications, specified as a euroAssessment object.

Name-Value Arguments

collapse all

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: configureVUT(euroAssessmentObj,AssetPath="C:\Truck.fbx") specifies the VUT asset as a truck.

Stabilization time of the ego vehicle, specified as a real scalar in the range [1, 3]. The stabilization time defines the time at which the ego vehicle attains a steady test speed after the start of the scenario simulation. Units are in seconds.

This argument sets the StabilizationTime property of the Euro NCAP assessment object euroAssessmentObj.

Asset path, specified as a character vector or string scalar.

The AssetPath is the absolute or relative path to your asset file. For example, if the asset file Sedan.fbx is in your current folder, C:\myFolder, you can specify the asset path as "Sedan.fbx" or "C:\myFolder\Sedan.fbx".

This argument sets the AssetPath property of the Euro NCAP assessment object euroAssessmentObj.

Version History

Introduced in R2026a