How do I fix "undefined reference" link error on Ubuntu 16 with MATLAB R2016b and earlier?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 4 Août 2016
Modifié(e) : MathWorks Support Team
le 4 Août 2016
How do I fix "undefined reference" link error on Ubuntu 16 with MATLAB R2016b and earlier?
Réponse acceptée
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=''
0 commentaires
Plus de réponses (0)
Voir également
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!