How to create "Protected Model" from a model, which uses " a noninlined S-functions "?

2 visualizaciones (últimos 30 días)
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.

Respuestas (2)

Andrew Schenk
Andrew Schenk el 16 de Jun. de 2015
Editada: Andrew Schenk el 16 de Jun. de 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

stack programer
stack programer el 4 de Jun. de 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.......

Categorías

Más información sobre Model References en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by