Protecting dynamic masked subsystem
显示 更早的评论
Hello, I am working with dynamic masked subsystem. I do not want to distribute my design/algorithm to the third party user. I did a search on the internet and on this forum, and come across 3 methods to protect the subsystems:
1. Control access to subsystem by setting 'NoReadOrWrite' permission on the subsystem. But this setting can be easily reverted by user.
2. Generate S-function for the subsystem. It appears to me that this method is not applicable to masked subsystem. Please correct me if I am wrong.
3. IP protection by creating .mdlp files. I was going through the steps described at http://www.mathworks.com/products/demos/simscape/PhysMod_Demo_IP_Protection/. When I converted my subsystem to model block (by right clicking the subsystem and choosing the option 'convert to model block') an error occurred saying that masked subsystem can not be converted to model.
Am I doing something wrong or there is any other way to protect the masked subsystems. Any pointers on this will bw very helpful.
Thanks Abhishek
回答(2 个)
Kaustubha Govind
2012-2-27
0 个投票
You might want to generate a protected model or S-function from an unmasked version of the subsystem, and then create the mask again over the generated, protected version?
2 个评论
Abhishek
2012-2-28
Kaustubha Govind
2012-4-2
Do you mean a Variant/Configurable subsystem? I'm not sure if model reference blocks support these - they probably inline the variant of the subsystem selected at compile-time. And yes, I believe Simulink Coder is in fact needed to generate protected referenced models.
Abhishek
2012-3-1
0 个投票
1 个评论
Kaustubha Govind
2012-4-2
I think the port dimensions need to be fixed for referenced models, because code is generated for the underlying model. You could try running the referenced model in "Normal" mode and see if it allows for inherited port dimensions in that mode.
类别
在 帮助中心 和 File Exchange 中查找有关 Large-Scale Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!