Is a third-party compiler needed to run a MATLAB Compiler standalone executable that uses loadlibrary function
조회 수: 5 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Kaustubha Govind
2012년 7월 23일
Please see this previous discussion: http://www.mathworks.com/matlabcentral/answers/32007-using-mcc-to-compile-a-code-that-uses-a-dll-library
댓글 수: 2
Walter Roberson
2012년 7월 23일
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
2012년 7월 24일
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.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!