Why is a Simulink Check license checked out when I open a model?

8 ビュー (過去 30 日間)
Pat Canny
Pat Canny 2019 年 7 月 19 日
編集済み: Pat Canny 2019 年 7 月 19 日
I noticed that when I open certain models, a Simulink Check license ('sl_verification_validation') is immediately checked out. I haven't run Model Advisor on the model. Why is the license checked out?

採用された回答

Pat Canny
Pat Canny 2019 年 7 月 19 日
編集済み: Pat Canny 2019 年 7 月 19 日
This is likely due to Edit-Time Checking being enabled on the model. If the model has been saved with Edit-Time Checking enabled, then Edit-Time Checking will remain enabled when the model is re-opened. This will check out a Simulink Check license.
There are two functions you can use to address this:
edittime.getAdvisorChecking determines whether Edit-Time Checking is on for a model
edittime.setAdvisorChecking can be used to turn Edit-Time Checking on or off for a model
Note that if you disable Edit-Time Checking for a model via a script, users who open the model might not be aware Edit-Time Checking has been disabled.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCheck Model Compliance についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by