Protecting a subsystem in simulink

조회 수: 57 (최근 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 CenterFile Exchange에서 Model Protection에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by