problem to compile a matlab project into java project
2 ビュー (過去 30 日間)
古いコメントを表示
Hello there. i need your help to solve a problem:
I have a matlab project (that simulates a physical phenomenon), which contains many file types:
1)main.m file: which is the file that should become the "main" after compiling the matlab project into java.
2)other *.m files: they contain functions used by the main.m
3) *.fig files: used by some *.m files
4) *.class files: used by some *.m files
5) *.txt and *.jpg files
when i run the main.m file in matlab, the project works fine (the window i created appears and everything is fine).
NOW i want to compile this matlab project into a java project, i used javabuilder JA and installed the MCR. but it doesn't work! i have little to no experience with JA and i don't know how to "tell" JA which file is the "main", which other files are used by the main etc....
thank u for ur help.
0 件のコメント
回答 (1 件)
Friedrich
2011 年 7 月 21 日
Hi, in such a case I would recommend to start with an example:
This will show you how to compile your MATLAB Code into a java class and how to use it in JAVA.
Once you have unterstand the workflow and the needed steps you can proceed with your project.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!