Main Content

euroAssessment

Store Euro NCAP assessment protocol specifications

Since R2025a

Description

The euroAssessment object stores Euro NCAP® assessment protocols specifications and assessment scores. For more information, see the Euro NCAP assessment protocol for vulnerable road user protection [1] and safety assist collision avoidance [2].

Creation

Description

euroAssessmentObj = euroAssessment creates a Euro NCAP assessment object euroAssessmentObj with the Name and Year properties set as "Euro NCAP" and 2023, respectively.

Note

This object 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.

example

Properties

expand all

This property is read-only.

Name of the assessment protocol, represented as "Euro NCAP".

This property is read-only.

Assessment protocol implementation year, represented as 2023.

Object Functions

assessmentTableCreate empty assessment table for Euro NCAP test scenario
ncapScoreObtain score for Euro NCAP test

Examples

collapse all

Specify a Euro NCAP test name.

ncapTestName = "SA AEB CCFtap";

Create a Euro NCAP protocol specification object.

euroAssessmentObj = euroAssessment;

Create an empty Euro NCAP assessment table for the specified Euro NCAP test name.

emptyAssessmentTable = assessmentTable(euroAssessmentObj,ncapTestName)
emptyAssessmentTable=9×2 table
                         TestDescription                         CollisionAvoidance
    _________________________________________________________    __________________

    "EgoSpeed = 2.7778m/s, Primary Target Speed = 8.3333m/s"            NaN        
    "EgoSpeed = 2.7778m/s, Primary Target Speed = 12.5m/s"              NaN        
    "EgoSpeed = 2.7778m/s, Primary Target Speed = 16.6667m/s"           NaN        
    "EgoSpeed = 4.1667m/s, Primary Target Speed = 8.3333m/s"            NaN        
    "EgoSpeed = 4.1667m/s, Primary Target Speed = 12.5m/s"              NaN        
    "EgoSpeed = 4.1667m/s, Primary Target Speed = 16.6667m/s"           NaN        
    "EgoSpeed = 5.5556m/s, Primary Target Speed = 8.3333m/s"            NaN        
    "EgoSpeed = 5.5556m/s, Primary Target Speed = 12.5m/s"              NaN        
    "EgoSpeed = 5.5556m/s, Primary Target Speed = 16.6667m/s"           NaN        

Create a copy of the empty assessment table, and fill in the values of the assessment criteria in the table.

filledAssessmentTable = emptyAssessmentTable;
filledAssessmentTable.CollisionAvoidance(:) = 1;

Compute the score for the specified Euro NCAP test name.

[score,assessmentTableUpdated] = ncapScore(euroAssessmentObj,ncapTestName,filledAssessmentTable);

Display the score for the specified Euro NCAP test name.

disp(score)
    AggregateScore: 1
    AvailableScore: 1

Display the updated assessment table.

disp(assessmentTableUpdated)
                         TestDescription                         CollisionAvoidance    EntryStatus    Points    Weights    Colors 
    _________________________________________________________    __________________    ___________    ______    _______    _______

    "EgoSpeed = 2.7778m/s, Primary Target Speed = 8.3333m/s"             1               "Valid"        1          1       "Green"
    "EgoSpeed = 2.7778m/s, Primary Target Speed = 12.5m/s"               1               "Valid"        1          1       "Green"
    "EgoSpeed = 2.7778m/s, Primary Target Speed = 16.6667m/s"            1               "Valid"        1          1       "Green"
    "EgoSpeed = 4.1667m/s, Primary Target Speed = 8.3333m/s"             1               "Valid"        1          1       "Green"
    "EgoSpeed = 4.1667m/s, Primary Target Speed = 12.5m/s"               1               "Valid"        1          1       "Green"
    "EgoSpeed = 4.1667m/s, Primary Target Speed = 16.6667m/s"            1               "Valid"        1          1       "Green"
    "EgoSpeed = 5.5556m/s, Primary Target Speed = 8.3333m/s"             1               "Valid"        1          1       "Green"
    "EgoSpeed = 5.5556m/s, Primary Target Speed = 12.5m/s"               1               "Valid"        1          1       "Green"
    "EgoSpeed = 5.5556m/s, Primary Target Speed = 16.6667m/s"            1               "Valid"        1          1       "Green"

References

[1] European New Car Assessment Programme (Euro NCAP). Assessment Protocol - Vulnerable Road User Protection, Implementation 2023, Version 11.4, December 2023. https://www.euroncap.com/media/79885/euro-ncap-assessment-protocol-vru-v114.pdf.

[2] European New Car Assessment Programme (Euro NCAP). Assessment Protocol - Safety Assist Collision Avoidance, Implementation 2023, Version 10.4.1, February 2024. https://www.euroncap.com/media/80154/euro-ncap-assessment-protocol-sa-collision-avoidance-v1041.pdf.

Version History

Introduced in R2025a