Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
package doesn't exist error (matlabcontrol : Java + Matlab) !!!

Subject: package doesn't exist error (matlabcontrol : Java + Matlab) !!!

From: Susan

Date: 15 Aug, 2011 01:57:14

Message: 1 of 2

I am trying to run the available code on this website http://code.google.com/p/matlabcontrol/downloads/list to my Netbeans IDE environment but I am getting error that this package doesn't exist but I read the documentation about and there is indeed a library for it so not sure whats wrong? Its basically code to integrate matlab and Java and If I run the Jar from the link above its working but want to see the code myself and test it and it says it should work if I move all the code to my environment.
This is the line that cause the trouble import com.mathworks.jmi.NativeMatlab;
It says that the package doesn't exist??

Any Idea??

Subject: package doesn't exist error (matlabcontrol : Java + Matlab) !!!

From: Yair Altman

Date: 15 Aug, 2011 19:22:28

Message: 2 of 2

"Susan" wrote in message <j29udq$pc1$1@newscl01ah.mathworks.com>...
> I am trying to run the available code on this website http://code.google.com/p/matlabcontrol/downloads/list to my Netbeans IDE environment but I am getting error that this package doesn't exist but I read the documentation about and there is indeed a library for it so not sure whats wrong? Its basically code to integrate matlab and Java and If I run the Jar from the link above its working but want to see the code myself and test it and it says it should work if I move all the code to my environment.
> This is the line that cause the trouble import com.mathworks.jmi.NativeMatlab;
> It says that the package doesn't exist??
>
> Any Idea??


Simply import the %matlabroot%\java\jar\jmi.jar file into your NetBeans project

Yair Altman
http://UndocumentedMatlab.com

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us