aspose file tools*
The moose likes Distributed Java and the fly likes how to call matlab function from a java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "how to call matlab function from a java program" Watch "how to call matlab function from a java program" New topic
Author

how to call matlab function from a java program

santosh kimothi
Ranch Hand

Joined: Jun 10, 2009
Posts: 32
i am having some matlab commands and i want to call those matlab commands from my java program.
can anybody tell me the full code by calling a matlab command in java function.
i am trying many examples from net but i am not able to execute the matlab command.


Santosh Kimothi,
Java programmer
Jeff Storey
Ranch Hand

Joined: Apr 07, 2007
Posts: 230
Santosh,

There is a class called MatlabControl that will allow you to do this. http://www.cs.virginia.edu/~whitehouse/matlab/JavaMatlab.html.

Jeff


Jeff Storey
Software Developer
[url]http://jeffastorey.blogspot.com[/url]
Joshua Kaplan
Greenhorn

Joined: Jul 08, 2011
Posts: 5
There is a Java library inspired by the class MatlabControl called matlabcontrol which can do everything that class can do and far more. To get started, take a look at the walkthrough.
 
 
subject: how to call matlab function from a java program