Is it possible to compile a simulink model which includes an external s-function (mexw32) with real time workshop?
이전 댓글 표시
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.
답변 (1개)
Kaustubha Govind
2014년 4월 4일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!