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

1 vue (au cours des 30 derniers jours)
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'

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Juin 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.

Plus de réponses (0)

Catégories

En savoir plus sur Call C++ from MATLAB dans Help Center et File Exchange

Produits


Version

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by