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.

  1. Create a jar with your code, use builder ja
  2. , which is a third party automation server:
  3. MatlabControl Use java, which allows matlab jre to run matlab code from java.
  4. 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

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -