Real time target and s-fuction

4 views (last 30 days)
Vincenzo Alessandro
Vincenzo Alessandro on 18 Oct 2012
Hi to all, i'm a very newbie of matlab and simulink. I'm using the r2010a version of matlab. I have to do an s-fuction for a tcp-ip communication. My s-fuction works well in a normal simulink model but when i try to build it as a generic real time target i get an error. It is possible to do a s fuction in "generic real time target" mode. I have googled for that but i'm not understand if it is possible. Thank you

Answers (1)

Kaustubha Govind
Kaustubha Govind on 18 Oct 2012
If you have not written a TLC file to inline your S-function, then what you're asking for is support for non-inlined S-functions. However, I believe the option to support non-inlined S-functions is only available with ert.tlc (and its derived targets), not grt.tlc (Generic real-time target).

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!