Why am I unable to generate a C++ shared library using a Borland compiler and MATLAB Compiler 4.0 (R14)?
조회 수: 1 (최근 30일)
이전 댓글 표시
I would like to generate a C++ shared library for use in my application. I can generate a shared library file, but when I try calling it, I receive an unresolved references error. Furthermore, if I compile the shared library using the verbose output flag, I receive warning messages such as:
Turbo Incremental Link 5.60 Copyright (c) 1997-2002 Borland
Warning: Attempt to export non-public symbol '_addmatrix'
Warning: Attempt to export non-public symbol '_multiplymatrix'
Warning: Attempt to export non-public symbol '_eigmatrix'
채택된 답변
MathWorks Support Team
2009년 6월 27일
This problem has been fixed in MATLAB Compiler 4.2 (R14SP2). If you are using a previous version, read the following:
We have verified that there is a bug in MATLAB Compiler 4.0 (R14) when using a Borland compiler to generate a C++ shared library.
To work around this issue, try generating a C shared library.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!