I can't import simulink generated shared library to visual studio
조회 수: 1 (최근 30일)
이전 댓글 표시
Why do I get an errore when I try to add simulink generated shared library to visual studio? I used Shared Library Target (ert_shrlib.tlc) to generate a shared library directly. The error is: Please make sure that the file is accessible, and that it is a valid assembly or COM component.
댓글 수: 0
채택된 답변
Titus Edelhofer
2014년 4월 9일
Hi,
this sounds like if your Visual Studio Project is a .NET project instead of a C/C++ project ...?
Titus
댓글 수: 2
Titus Edelhofer
2014년 4월 10일
Yes, it is. You will need to use the native interface to unmanaged code (google for C# and DllImport).
Titus
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 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!