Why do I get messages "is not a valid check ID" when trying to run Model Advisor in R2023b?

4 次查看(过去 30 天)
I get a long list of messages that certain Model Advisor checks cannot be run:
### Model Advisor running - please wait -
Running Model Advisor...
mathworks.iec61508.MdlMetricsInfo is not a valid check ID.
mathworks.hism.hisl_0062 is not a valid check ID.
mathworks.hism.hisf_0001 is not a valid check ID.
mathworks.hism.hisf_0002 is not a valid check ID.
mathworks.hism.hisf_0003 is not a valid check ID.
mathworks.hism.hisf_0009 is not a valid check ID.
mathworks.hism.hisf_0011 is not a valid check ID.
mathworks.hism.hisf_0013 is not a valid check ID.
mathworks.hism.hisf_0014 is not a valid check ID.
mathworks.hism.hisf_0015 is not a valid check ID.
mathworks.hism.hisf_0016 is not a valid check ID.
mathworks.hism.hisf_0017 is not a valid check ID.
mathworks.hism.hisl_0061 is not a valid check ID.
mathworks.hism.hisf_0064 is not a valid check ID.
mathworks.hism.hisf_0065 is not a valid check ID.
mathworks.hism.hisf_0211 is not a valid check ID.
mathworks.hism.hisl_0311 is not a valid check ID.
mathworks.jmaab.jc_0795 is not a valid check ID.
mathworks.jmaab.jc_0796 is not a valid check ID.
mathworks.jmaab.jc_0700 is not a valid check ID.
mathworks.jmaab.db_0043 is not a valid check ID.
mathworks.jmaab.jc_0281 is not a valid check ID.
mathworks.maab.db_0123 is not a valid check ID.
mathworks.jmaab.jc_0712 is not a valid check ID.
mathworks.jmaab.db_0125 is not a valid check ID.
mathworks.jmaab.jc_0701 is not a valid check ID.
mathworks.jmaab.jc_0722 is not a valid check ID.
mathworks.jmaab.db_0126 is not a valid check ID.
mathworks.jmaab.jc_0797 is not a valid check ID.
mathworks.jmaab.db_0137 is not a valid check ID.
mathworks.jmaab.jc_0721 is not a valid check ID.
mathworks.jmaab.jc_0531 is not a valid check ID.
mathworks.jmaab.jc_0723 is not a valid check ID.
mathworks.jmaab.jc_0751 is not a valid check ID.
mathworks.jmaab.jc_0760 is not a valid check ID.
mathworks.jmaab.jc_0763 is not a valid check ID.
mathworks.jmaab.jc_0762 is not a valid check ID.
mathworks.jmaab.db_0132 is not a valid check ID.
mathworks.jmaab.jc_0773 is not a valid check ID.
mathworks.jmaab.jc_0775 is not a valid check ID.
mathworks.jmaab.jc_0738 is not a valid check ID.
mathworks.jmaab.jc_0790 is not a valid check ID.
mathworks.maab.jm_0011 is not a valid check ID.
mathworks.jmaab.jm_0012 is not a valid check ID.
mathworks.jmaab.jc_0733 is not a valid check ID.
mathworks.jmaab.jc_0734 is not a valid check ID.
mathworks.jmaab.jc_0740 is not a valid check ID.
mathworks.jmaab.jc_0741 is not a valid check ID.
mathworks.jmaab.jc_0772 is not a valid check ID.
mathworks.jmaab.jc_0753 is not a valid check ID.
mathworks.jmaab.db_0127 is not a valid check ID.
mathworks.maab.jc_0481 is not a valid check ID.
mathworks.jmaab.na_0001 is not a valid check ID.
mathworks.maab.jc_0451 is not a valid check ID.
mathworks.jmaab.jc_0802 is not a valid check ID.
mathworks.jmaab.jc_0732 is not a valid check ID.
mathworks.jmaab.jc_0730 is not a valid check ID.
mathworks.jmaab.jc_0731 is not a valid check ID.
mathworks.jmaab.jc_0501 is not a valid check ID.
mathworks.jmaab.jc_0736 is not a valid check ID.
mathworks.jmaab.jc_0739 is not a valid check ID.
mathworks.jmaab.jc_0770 is not a valid check ID.
mathworks.jmaab.jc_0771 is not a valid check ID.
mathworks.jmaab.jc_0752 is not a valid check ID.
mathworks.jmaab.jc_0774 is not a valid check ID.
mathworks.maab.jc_0511 is not a valid check ID.
mathworks.jmaab.jc_0732 is not a valid check ID.
mathworks.jmaab.na_0042 is not a valid check ID.
Warning: Check MATLAB Function metrics
Why is this?

采纳的回答

MathWorks Support Team
Usually, these messages indicate that a required product wasn't installed.
In your case, all these checks are related to Stateflow, so this product is required to run these checks.
You can run the command 
>> ver
to check if Stateflow is installed on your machine.
If it is not, install Stateflow (and make sure you have a license key available for this product - otherwise these checks will be skipped).
After the installation run
>> Advisor.Manager.refresh_customizations
to ensure the additional checks are picked up.
 

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

尚未输入任何标签。

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by