ncapScore
Syntax
Description
Add-On Required: This feature requires the Automated Driving Toolbox Test Suite for Euro NCAP Protocols add-on.
[
obtains the assessment score score,assessmentTableUpdated] = ncapScore(euroAssessmentObj,ncapTestName,assessmentTable)score for the Euro NCAP® test scenario with name ncapTestName defined by the
protocol specifications euroAssessmentObj. The syntax also updates the
input Euro NCAP assessment table assessmentTable and stores the
assessment table and score in the input protocol specifications object
euroAssessmentObj.
[
obtains the assessment score score,assessmentTableUpdated] = ncapScore(euroAssessmentObj,ncapTestName)score and the assessment table
assessmentTableUpdated for the Euro NCAP test scenario with name ncapTestName from the input
protocol specifications object euroAssessmentObj. If
euroAssessmentObj does not contain a score and updated assessment
table for the specified test, the function returns an empty score and empty assessment
table.
[
obtains all assessment scores from the input protocol specifications object
score,groupScore,allScore] = ncapScore(euroAssessmentObj,ncapGroupName)euroAssessmentObj, and returns the aggregated score
score for the specified test group name
ncapGroupName. The syntax also returns the subgroup score
groupScore and the scores for all tests belonging to the specified
group ncapGroupName. Note that, for a specified group name, you must
use the first syntax of this function to evaluate the scores for its relevant test scenarios
prior to using this syntax. Otherwise, this syntax returns the aggregated scores as
NaN for test scenarios without evaluated scores.
Examples
Input Arguments
Output Arguments
Limitations
The ncapScore, ncapReport, and
exportReport object functions does not support these scenarios:
"SA LSS Lane Departure Warning""SA LSS HMI Blind Spot Monitoring GVT""SA LSS HMI Blind Spot Monitoring EMT"
Tips
You must replace the NaN fields of the returned table with appropriate
values, and specify the updated table as the assessmentTable input
argument of the ncapScore
function, to get Euro NCAP assessment scores. For more information, see the Compute Score for Euro NCAP Test Scenario and Generate Report example. For more
information on how to compute assessment criteria values, see the Euro NCAP Testing with RoadRunner Scenario example.
References
[1] European New Car Assessment Programme (Euro NCAP). Assessment Protocol - Vulnerable Road User Protection, Implementation 2023, Version 11.4, December 2023.
[2] European New Car Assessment Programme (Euro NCAP). Assessment Protocol - Safety Assist Collision Avoidance, Implementation 2023, Version 10.4.1, February 2024.
Version History
Introduced in R2025aSee Also
assessmentTable | euroAssessment | ncapSpec | ncapReport | exportReport | configureVUT

