cross compiling - how to call a matlab function with arguments and capture output in java? -
I want to know how to call and execute a matlab function with parameters like Java and capture the output in Java.
I see different options.
- Create a jar with your code, use builder ja
- , which is a third party automation server:
- MatlabControl Use java, which allows matlab jre to run matlab code from java.
- While Builder JA is expensive and option 2 and 3 can be found in Trouble with future Mac versions, then there is another possibility of using Matlab which probably does not cause any maintenance. For parameters and return, I will use a file The main disadvantage is a new matab session that starts for each call, which requires some time.
Comments
Post a Comment