Is there a compatibility between updated versions for protected model in R2019b?
7 views (last 30 days)
Show older comments
MathWorks Support Team
on 18 Nov 2021
Edited: MathWorks Support Team
on 25 Apr 2023
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
on 25 Apr 2023
Edited: MathWorks Support Team
on 25 Apr 2023
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 Comments
More Answers (0)
See Also
Categories
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!