How to create a "Protected model" from a model containing S-Function?

5 views (last 30 days)
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.

Answers (1)

Guy Rouleau
Guy Rouleau on 17 May 2024
Support for non-inlined S-Functions inside protected referenced models have been added in R2021b.

Categories

Find more on Deployment, Integration, and Supported Hardware 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!