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

답변 (2개)

Guy Rouleau
Guy Rouleau 2024년 5월 17일

1 개 추천

non-inlined s-funciton are supported in protected model starting in R2021b
Kaustubha Govind
Kaustubha Govind 2013년 6월 25일

0 개 추천

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

Abhijit
Abhijit 2013년 6월 25일
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?

댓글을 달려면 로그인하십시오.

카테고리

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

제품

질문:

2013년 6월 25일

답변:

2024년 5월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by