Is it possible to compile a simulink model which includes an external s-function (mexw32) with real time workshop?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Kaustubha Govind
2014-4-4
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!