• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calling MATLAB from Java application

 
Aniruddha Chaudhari
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to call MATLAB functions from my java application. While I was following the directions given @ some website, where it was mentioned to use jmi.jar from Matlab's jar files to access MatlabControl class in java application which further can be used to invoke Matlab functions.
Well, it seems I am not able to create object of MatlabControl class even after adding jmi.jar to my project.

Any help would be highly appreciated.

thanks,
 
Rob Spoor
Sheriff
Pie
Posts: 20671
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ItDoesntWorkIsUseless. What error are you getting?
 
Aniruddha Chaudhari
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry for posting so vaguely. I shall remember next time.
Anyway, I figured out the solution. Thank you.
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4690
337
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aniruddha Chaudhari wrote:Anyway, I figured out the solution.

Can you share that solution with us?
 
Aniruddha Chaudhari
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Devaka Cooray wrote:
Aniruddha Chaudhari wrote:Anyway, I figured out the solution.

Can you share that solution with us?


Here's a link to know how to interact with Matlab in remote sessions.

http://code.google.com/p/matlabcontrol/wiki/RemoteWalkthrough

This is where you can download MatlabControl.jar
http://code.google.com/p/matlabcontrol/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic