How to create "Protected Model" from a model, which uses " a noninlined S-functions "?
4 views (last 30 days)
Show older comments
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 Comments
Answers (2)
Andrew Schenk
on 16 Jun 2015
Edited: Andrew Schenk
on 16 Jun 2015
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 Comments
stack programer
on 4 Jun 2017
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 Comments
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!