Meaningless Drivel is fun!
The moose likes Java in General and the fly likes calling matlab from java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "calling matlab from java" Watch "calling matlab from java" New topic

calling matlab from java

kanuru rao

Joined: Jan 29, 2008
Posts: 2
i want to send the input from java to matlab function , which input is taken by the client. after completion of that function execution the result must be send to client through jsp.
i know that matlab function generate the .m file only. i request you to anybody having the code for calling matlab function from java send that code.
thank you for your co-operation
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Welcome to JavaRanch.

I'm not familiar with Matlab (or its Java integration capabilities), but a search through the Saloon archive finds a number of topics. That might be a starting point.

Doesn't the Matlab documentation mention anything about this?
Joshua Kaplan

Joined: Jul 08, 2011
Posts: 5
matlabcontrol will allow you to easily call MATLAB from Java. It's just like using eval and feval in MATLAB's Command Window and the results can be returned to Java. To get started, take a look at the walkthrough.
I agree. Here's the link:
subject: calling matlab from java
It's not a secret anymore!