Why are the checks in my custom configuration file not showing up in Model Advisor Configuration Editor?

5 次查看(过去 30 天)

I have a custom configuration that has multiple checks in MATLAB R2023b. When I run the custom configuration in the Model Advisor, all checks run properly and a report is generated showing all checks. However, when opening my custom configuration file in the Model Advisor Configuration Editor, there is only a single check that gets displayed. How can I resolve this issue? 

采纳的回答

MathWorks Support Team
Each check in the "Tree" in a custom configuration has a “parent” value. A "parent" element must exist in order for its children to be displayed in the Model Advisor Configuration Editor. Ensure that for each element in the "Tree", there is an associated parent element.
You can add an element in the "Tree” with “id”: “X” where X is the "parent" value. This will ensure all checks appear in the Model Advisor Configuration Editor. Below is an example of an incorrect Model Advisor configuration JSON file with one parent and one model check. Note that the ellipses indicate key-values which have been removed for readability.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Organize and Deploy Model Advisor Checks 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by