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!