Is a third-party compiler needed to run a MATLAB Compiler standalone executable that uses loadlibrary function
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Kaustubha Govind
on 23 Jul 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 Comments
Walter Roberson
on 23 Jul 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
on 24 Jul 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.
See Also
Categories
Find more on Application Deployment in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!