Is there a compatibility between updated versions for protected model in R2019b?

6 次查看(过去 30 天)
I created a protected model in R2019bU9 and I opened and ran it in R2019b and then I got the following error message.
One or more global variables used by protected model E:\TEST\TEST_IP_Model.slxp are incompatible with the variables that existed when the protected model was created. This protected model uses global variable(s): 'TEST_bus'.

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2023-4-25
We would expect protected models to work in the same release that they were created, independently of the update version. However, this is not true for some releases.
This behavior was indirectly introduced as a side-effect of the fix for Bug Report 2429203 (that is why it appears in all the updates/releases where Bug Report 2429203 was implemented). 
Models that are Protected in       Cannot be used in 
------------------------------------------------------------------------------
19b_update9 and later                19b_update8 and before
20a_update7 and later                20a_update6 and before
20b_update6 and later                20b_update5 and before
21a and 21a_update1                   21a_update2 to 21a_update7  
21a_update2 and later                 21a and 21a_update1   
Between updated versions in 19b, if you protects your model in 19b_update9, you will only be able to use it in 19b_update9. If you protect it in 19b_update8 and before, it can be used in 19b_update8 and before.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Subsystems 的更多信息

标签

尚未输入任何标签。

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by