File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes calling MATLAB from Java application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "calling MATLAB from Java application" Watch "calling MATLAB from Java application" New topic
Author

calling MATLAB from Java application

Aniruddha Chaudhari
Greenhorn

Joined: May 19, 2010
Posts: 12
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,


Certifications: SCJP 6, SCWCD 5
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19790
    
  20

ItDoesntWorkIsUseless. What error are you getting?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Aniruddha Chaudhari
Greenhorn

Joined: May 19, 2010
Posts: 12
I am sorry for posting so vaguely. I shall remember next time.
Anyway, I figured out the solution. Thank you.
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3273
    
  52

Aniruddha Chaudhari wrote:Anyway, I figured out the solution.

Can you share that solution with us?


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Aniruddha Chaudhari
Greenhorn

Joined: May 19, 2010
Posts: 12
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/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling MATLAB from Java application