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

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.

답변 (1개)

Guy Rouleau
Guy Rouleau 2024년 5월 17일

1 개 추천

Support for non-inlined S-Functions inside protected referenced models have been added in R2021b.

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

질문:

2015년 6월 15일

답변:

2024년 5월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by