Issue with distributing simulink models containing protected reference model

3 次查看(过去 30 天)
Hi,
We have been provided with a Simulink model that contains protected referenced model created using R2017b.
When I try to authorize it (by right clicking on the shield icon on the bottom left corner) I get the following error:
The protected model <model name> was created with an incompatible version of slprj. Recreate this protected model with the version of Simulink that you are currently using and try again
The protected model has been created using R2017b and I'm trying to use it in R2017b (both on Windows 10, if that matters).
Any thoughts?
Thank you

采纳的回答

Sunny Talekar
Sunny Talekar 2019-1-16
I have managed to resolve this. Thought it might be worth sharing if anyone else encounters similar issue.
It is important that the protected models and the model that references the protected model are created in the “exact” same versions of MATLAB. I was using 9.3.0.948333 (R2017b) Update 9 but the protected model, provided by 3rd party, was created using standard R2017b. Once they moved to Update 9 and regenerated the protected model, I was able to include it in my setup without any issues.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Model References 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by