How to create "Protected Model" from a model, which uses " a noninlined S-functions "?
4 次查看(过去 30 天)
显示 更早的评论
I have a model, which has an S-Function. I would like to protect this model from code generation, by creating a "protected model". However, I saw here that its not possible to do so.
Is there a workaround for this?
Protected Models A protected model cannot use noninlined S-functions directly or indirectly.
0 个评论
回答(2 个)
Andrew Schenk
2015-6-16
编辑:Andrew Schenk
2015-6-16
As you have already found, it is not possible to create a protected model which uses noninlined S-functions. There are two alternatives:
1. Create the necessary TLC file for the S-function such that it can be inlined.
2. Generate an S-Function block from the model instead of using a protected model. This process does have some other limitations, but will let your model with S-function blocks be run in Normal or Accelerator mode while protecting your intellectual property. More information on this can be found here: http://www.mathworks.com/help/rtw/ug/generated-s-function-block-deployment.html
0 个评论
stack programer
2017-6-4
i want too do this work, for HackRF one that is too use S-Parameter i want to created protected model but it returns callback error.........
for Block read and write too it has not any password and can open it any one...........
creating S-Model from it,we can not work with it in changing parameter.......
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Model Protection 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!