Protected model running error
8 views (last 30 days)
Show older comments
Hi,
I have been provided with a simulink protected model created using R2021a.
When I try to run it I get the following error:
"The protected model D:\00_Code\T-MATS-1.2.0\Trunk\TMATS_Examples\KSJ\While_Iterator_Plant.slxp has been changed since it was created, or the file has been corrupted. To use this protected model, you need to recreate it."
The provided protected model has no problem such as virius, any change or path etc. and I'm trying to find any errors but useless.
Please help
Thank you
0 Comments
Answers (1)
Abhinav Aravindan
on 30 Dec 2024 at 9:26
Edited: Abhinav Aravindan
on 30 Dec 2024 at 9:30
You may refer to the following Bug Report which describes a similar error for "HDL code generation failure from a top-level model that contains a protected model" along with the fix options.
Also, it is to be noted that models generated in MATLAB R2021a or R2021a Update 1 cannot be used in R2021a Update2 to R2021a Update 7 and vice versa, hence it is recommended to use the same MATLAB version with which the Protected Model was generated. Please refer to the below link for more detail:
I hope this helps!
0 Comments
See Also
Categories
Find more on Model Protection in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!