Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calling matlab from java

 
kanuru rao
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sir,
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic