How do I fix "undefined reference" link error on Ubuntu 16 with MATLAB R2016b and earlier?

1 vue (au cours des 30 derniers jours)
How do I fix "undefined reference" link error on Ubuntu 16 with MATLAB R2016b and earlier?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 4 Août 2016
If your application myprog.c uses new gcc 5.3 features and you get a link error, use the following mex command options:  
mex -client engine myprog.c MWCPPLIB=''

Plus de réponses (0)

Catégories

En savoir plus sur Write C Functions Callable from MATLAB (MEX Files) dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by