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!