Is it possible to compile a simulink model which includes an external s-function (mexw32) with real time workshop?
2 views (last 30 days)
Show older comments
Hello,
I'd like to compile a simulink model with Real-Time Workshop in order to generate a rapid simulation target. The simulink model contains an external created s-funtion (mexw32 file) which was created with MS Visual Studio 2010. I have neither source files nor object files for this s-function. After starting the buildprocess from MATLAB the linker tries to link an objectfile which I do not have.
LINK : fatal error LNK1181: Eingabedatei "external_sfun.obj" kann nicht geöffnet werden.
0 Comments
Answers (1)
Kaustubha Govind
on 4 Apr 2014
I think you need to at least have a TLC-file for the S-function to generate an RSIM target. If you have the source code, I think you can still generate code with support for non-inlined S-functions turned on. You might want to contact the vendor and obtain a TLC-file.
0 Comments
See Also
Categories
Find more on Target Computer Setup 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!