Why am I unable to generate a C++ shared library using a Borland compiler and MATLAB Compiler 4.0 (R14)?

1 view (last 30 days)
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'

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
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.

More Answers (0)

Products


Release

R14SP1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!