How to create "Protected Model" from a model, which uses " a noninlined S-functions "?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (2)
Andrew Schenk
le 16 Juin 2015
Modifié(e) : Andrew Schenk
le 16 Juin 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 commentaires
stack programer
le 4 Juin 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 commentaires
Voir également
Catégories
En savoir plus sur Model References dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!