why does the error "the protected model XX was created with an incompatible version of slprj" occur, in Matlab 2017b, and with same version as the sender?

3 次查看(过去 30 天)
Hi,
I received a projected model from Customer, and found that the error below keep popping up.
The customer and I have an exact same version of Matlab '9.3.0.925396 (R2017b) Update 8'.
But don`t know why my computer keep popping up the error.
Customer checked by sending his colleagues and was ok with the version.
Is there anything else I should check beside the matlab version, to prevent the error?

采纳的回答

Akshat Dalal
Akshat Dalal 2023-12-18
Hi Wonjin,
This is a known issue in the older versions of MATLAB and the root cause is the version difference in the slprj folders. Since you mention that you and your customer have the same version of matlab, it might be that the slprj folder had been created from a different release or a different version of the model, and hence the incompatibility issue. You could try deleting the slprj folder and re-creating the protected model which should hopefully fix the issue.
Also, if you are using the protected model as a model reference, It is important that both the protected models and the model that references the protected model are created in the “exact” same versions of MATLAB.
This issue has been resolved in newer versions of MATLAB and you could try regenerating your model files in later versions.
Hope this helps!
  1 个评论
Wonjin Shin
Wonjin Shin 2023-12-19
Thanks for your comment, Akshat. We have decided to move to a newer version of Matlab product and will start over to re-create a protected model. thanks again!

请先登录,再进行评论。

更多回答(0 个)

类别

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

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by