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

3 views (last 30 days)
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'.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 26 Nov 2021
Edited: MathWorks Support Team on 26 Nov 2021
We would expect protected models to work in the same release that they were created, independently of the update. 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_update2 and later              21a_update1 and before
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 or before, it can be used in all 19b updates.

More Answers (0)


No tags entered yet.




Community Treasure Hunt

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

Start Hunting!