This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 41128
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?

Ping & DNS - my free Android networking tools app
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
Similar Threads
Ending a thread without ending the JVM
calling matlab function from jsp
how to call matlab function from a java program
Set environment variable of UNIX by java program
Tomcat crash when running native code... however same code runs in Eclipse perfectly with Tomcat