Matlab 2015a: error converting .m file to a .JAR file
4 ビュー (過去 30 日間)
古いコメントを表示
When I try to convert Matlab (.m) code to (.JAR) file I get this error “Only Matlab functions and MEX files with a single entry point are acceptable as exported functions.” How can I overcome this error please?
0 件のコメント
回答 (2 件)
Gitesh Nandre
2015 年 6 月 25 日
Refer to the answer for this question:
1 件のコメント
You Wu
2015 年 7 月 9 日
I encountered the same the problem...However the link above doesn't seem to help. I was following the Matlab Compiler SDK tutorial and tried to convert varargexample.m they placed in matlabroot\toolbox\javabuilder\Examples\java_web_vararg_demo\mcode to a jar file...It didn't work, any ideas?
Thanks!
sharoon amin
2016 年 6 月 12 日
one way to overcome this problem is place your code in single function. That will act as your main function
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!