Protecting a subsystem in simulink

51 ビュー (過去 30 日間)
Ashwini  More
Ashwini More 2021 年 1 月 5 日
コメント済み: Joel Van Sickel 2021 年 1 月 6 日
I am trying to protect a subsystem block from third party but they should be able to run the simulation without identifying the model. I tried this by referencing the model and then coding but again it is giving error.
Is there anyone can help me with step by step procedure to protect the model?

採用された回答

Joel Van Sickel
Joel Van Sickel 2021 年 1 月 5 日
Hello Ashwini,
please use this page as a reference. If part of it doesn't work, please share the specific error message to get better help.
Regards,
Joel
  2 件のコメント
Ashwini  More
Ashwini More 2021 年 1 月 6 日
Thanks Joel!
I tried with the code and protected model has created in current folder but it cannot be opened.
Another question I want to ask you that how can I attach this protected model into original one, or we can use protected model to run simulation?
here is the snap of the error
Joel Van Sickel
Joel Van Sickel 2021 年 1 月 6 日
you should be able to replace the old model with the protected model and run the simulation. In that case, you will need to provide the protected model file (the .slxp), and that can be used instead of the original system. The error message makes sense if you were trying to open the protected model, since it wouldn't allow that.
If you have report generator, you can make a read only view: https://www.mathworks.com/help/simulink/slref/protected-models-for-model-reference.html
Regards,
Joel

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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