Protected model running error

6 ビュー (過去 30 日間)
DONGJU HAN
DONGJU HAN 2022 年 7 月 22 日
編集済み: Abhinav Aravindan 2024 年 12 月 30 日
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

回答 (1 件)

Abhinav Aravindan
Abhinav Aravindan 2024 年 12 月 30 日
編集済み: Abhinav Aravindan 2024 年 12 月 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!

カテゴリ

Help Center および File ExchangeModel Protection についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by