Is a third-party compiler needed to run a MATLAB Compiler standalone executable that uses loadlibrary function
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
The loadlibrary function requires a third-party compiler to be installed. Would a MATLAB Compiler standalone executable that uses the loadlibrary function work on a computer without a supported third-party compiler?
0 commentaires
Réponses (1)
Kaustubha Govind
le 23 Juil 2012
Please see this previous discussion: http://www.mathworks.com/matlabcentral/answers/32007-using-mcc-to-compile-a-code-that-uses-a-dll-library
2 commentaires
Walter Roberson
le 23 Juil 2012
Ah, I thought of that past discussion, but when I glanced at the documentation for loadfile(), it tends to imply that a compiler and perl would be required for all cases.
Kaustubha Govind
le 24 Juil 2012
Walter: Are you referring to the function reference page for LOADLIBRARY? If so, the perl/compiler requirement is mentioned only against the LOADLIBRARY syntax that specifies a header file, not for the one that specifies a prototype file. Furthermore, the MATLAB Compiler+LOADLIBRARY usage is explained at some length in the documentation here.
Voir également
Catégories
En savoir plus sur Application Deployment 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!