Protected model running error

10 visualizaciones (últimos 30 días)
DONGJU HAN
DONGJU HAN el 22 de Jul. de 2022
Editada: Abhinav Aravindan el 30 de Dic. de 2024
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

Respuestas (1)

Abhinav Aravindan
Abhinav Aravindan el 30 de Dic. de 2024
Editada: Abhinav Aravindan el 30 de Dic. de 2024
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!

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by