How to resolve S-function mdlRTW error during code generation?
Ältere Kommentare anzeigen
I'm trying to use a C MEX S-function in my Simulink model. I can run the model in normal mode, but I'd like to use it in Rapid Accelerator mode. The following error occurs when I try to build the rapid accelerator target:
This S-function block must have a corresponding TLC file since it has an mdlRTW() function
Why does this error occur? I have only non-tunable parameters in my S-function so I left the MDL_RTW function empty (at the end of the S-function). Where do I have to begin to resolve this question? I'm pretty new to code generation of S-functions so I have no idea where to start.
I can include my S-function if necessary.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!