Is a third-party compiler needed to run a MATLAB Compiler standalone executable that uses loadlibrary function
1 回表示 (過去 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.
参考
カテゴリ
Help Center および File Exchange で C Shared Library Integration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!