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

2 ビュー (過去 30 日間)
Kaustubh Gandhi
Kaustubh Gandhi 2015 年 6 月 15 日
回答済み: stack programer 2017 年 6 月 4 日
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.

回答 (2 件)

Andrew Schenk
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

stack programer
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.......

カテゴリ

Help Center および File ExchangeModel References についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by