Build Errors with S-function
1 view (last 30 days)
Show older comments
The model I am trying to build has a S-function and I have access to the s-function.c file. The source file has a function call with the same name(<s-function> name)in the mdloutputs. Whenever I try building the model it gives the error "undefined reference to `ApplyFILT_1stOrderLag_flt'". The directory also have the rtwmakecfg.m and all the libraray referenced.
how does a sfunction C file with a function call work?.
1 Comment
Kaustubha Govind
on 9 Dec 2011
Could you show us how you define your rtwmakecfg.m? Also, turn on "Verbose build" from the Code Generation>Debug pane in the Configuration Parameters window and check the build log to see if your libraries are being linked in correctly.
Answers (1)
See Also
Categories
Find more on Naming Conventions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!