Non inlined S function in a protected model

I have a non-inlined S-function in a MDL. I need to create a protected model of this MDL. I am not very experienced with converting a non-inlined S function to an inlined S function. What are my options here to create the Protected model which contains a non-inlined S function inside the MDL.
Thanks

Antworten (2)

Guy Rouleau
Guy Rouleau am 17 Mai 2024

1 Stimme

non-inlined s-funciton are supported in protected model starting in R2021b
Kaustubha Govind
Kaustubha Govind am 25 Jun. 2013

0 Stimmen

According to the documentation:
A protected model cannot use noninlined S-functions directly or indirectly.
So unfortunately, it looks like you must write a TLC to make it an inlined S-function.

1 Kommentar

Abhijit
Abhijit am 25 Jun. 2013
Is there an example on how to write a TLC function to make it an inline. I have found this http://radio.feld.cvut.cz/matlab/toolbox/rtw/tlc_ref/cp_inli4.html
However, I dont seem to follow whats going on here. Any other references?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 25 Jun. 2013

Beantwortet:

am 17 Mai 2024

Community Treasure Hunt

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

Start Hunting!

Translated by