Protecting a subsystem in simulink
55 views (last 30 days)
Show older comments
Ashwini More
on 5 Jan 2021
Commented: Joel Van Sickel
on 6 Jan 2021
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?
0 Comments
Accepted Answer
Joel Van Sickel
on 5 Jan 2021
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 Comments
Joel Van Sickel
on 6 Jan 2021
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
More Answers (0)
See Also
Categories
Find more on Model Protection in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!