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!