Unknown error. Metrics Dashboard

2 views (last 30 days)
Anna Fedorova
Anna Fedorova on 8 Feb 2022
Answered: Daniel Lindner on 11 Mar 2022
Hi everyone! I built the model that is based on the model reference approach. Then, I opened one of the model and launched metrics dashboard (All Metrics option, Non-Compile Metrics option works fine). Unknown errors from the pictures above occur each time. How can I fix them? (searching through Matlab official documentation doesn't help).

Answers (1)

Daniel Lindner
Daniel Lindner on 11 Mar 2022
Hi Anna,
This error is created when collecting the Model Advisor metrics (the 2 gauges and the bar chart in the Model Guideline Compliance section of the dashboard). When collecting these metrics, the dashboard executes checks in Model Advisor. The metric identifies the checks to run via the ID of the check group in the Model Advisor tree. In this case the metrics 'mathworks.metrics.ModelAdvisorCheckCompliance.maab' and 'mathworks.metrics.ModelAdvisorCheckIssues.maab' are trying to run checks in the MAAB group (Model Checks for MathWorks Automotive Advisory Board (MAAB) Guideline Compliance) with ID "_SYSTEM_By Task_maab".
Do you have any Model Advisor customizations in place that remove or modify the default MAAB check group? This will cause the metrics to not find the group resulting in the error on your screenshot.
You can customize the Model Advisor metrics to point to a different check group following this example.
BTW the Model Advisor metrics are considered compile metrics. Hence, they do not run when you chose Non-Compile Metrics.
Best regards, Daniel

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!