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

4 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Check Model Compliance 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by