Model Reference Target Update Error
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I'm trying to build a simulink model with real-time workshop, but I've not been able to troubleshoot one error I get. The parent model in simulink references another model with an s-function and the error reads:
Error: Real-Time Workshop Error:
Model reference RTWTarget does not support non-inlined s-functions.
I'm using 2010a and am building with ert.tlc if that helps.
0 Commenti
Risposta accettata
TAB
il 14 Giu 2012
If you are using s-function for code generation, then s-function should be supported with inlining TLC file. TLC file tells RTW, how to generate code for perticular s-function and inilining a s-function is always recommended for production code generation.
If you still want to generate code from non-inlined s-function (not recommended) set Support for 'non-inlined S-functions' option ON in the Interface pane of Real-Time Workshop setting.
If you are using model referencing in Accelerator Mode see here limitation for s-function in this mode.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Simulink Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!