External C++ library support for Simulink Realtime
이전 댓글 표시
I am trying to use an external C++ library on a Simulink Realtime Target (Please note : I don't mean Simulink Desktop Realtime or Simulink Realtime Windows target), a NUC PC through S-Function support. I managed to generate an S-function for the C++ library, thereby everything works normal in Simulink Normal Mode. Now when I try to generate code for Simulink Realtime the error states that the code is compiled for C++.
Simulink Coder Fatal : This S-Function generated by the Legacy Code Tool must be only used with the C++ Target Language.
How can I make this S-function compatible for SLRT code generation?
답변 (1개)
Divya Gaddipati
2019년 8월 14일
0 개 추천
The error is because the C++ standard template library is not compatible with real-time code.
A similar question has been answered by the community which may be of relevance to you:
카테고리
도움말 센터 및 File Exchange에서 System Configuration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!