Unknown error. Metrics Dashboard
显示 更早的评论
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).

回答(1 个)
Daniel Lindner
2022-3-11
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 MAB Modeling Guidelines 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!