Be the first to rate this file! 18 Downloads (last 30 days) File Size: 425.09 KB File ID: #22811

Using MATLAB Builder for JAVA with Eclipse

by Siamak Faridani

 

29 Jan 2009

Using MATLAB Builder for JAVA with Eclipse

| Watch this File

File Information
Description

These are my notes on how to get Eclise to work with MATLAB builder to JAVA.
I found myself referring to these notes many time so I am sharing them for others to use.

I'll be continuously correcting and updating this file so please feel free to send me your feedback on it

Required Products MATLAB Builder JA
MATLAB Compiler
MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
26 Nov 2011 liang

I tried to call MagicSquare from Eclipse.
Added the two jar in eclipse, but still get error message. I have MATLAB R2011a, and MCR 7.15 installed on my computer, but it still can't find the dll file in the runtime.

By the way, running it from command line is successful.

-------------
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to find the library mclmcrrt7_15.dll, required by MATLAB Builder JA, on java.library.path.
 This library is typically installed along with MATLAB or the MCR, its absence may indicate an issue with that installation or the current path configuration.
The MCR version that this component is trying to use is: 7.15.

at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir.get(MCRConfiguration.java:167)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir.<clinit>(MCRConfiguration.java:173)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getProxyLibraryDir(MCRConfiguration.java:178)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$MCRRoot.get(MCRConfiguration.java:77)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$MCRRoot.<clinit>(MCRConfiguration.java:87)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getMCRRoot(MCRConfiguration.java:92)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ModuleDir.<clinit>(MCRConfiguration.java:66)
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getModuleDir(MCRConfiguration.java:71)
at com.mathworks.toolbox.javabuilder.internal.MWMCR.<clinit>(MWMCR.java:1549)
at com.mathworks.toolbox.javabuilder.MWUtil.GetUnknownClassID(MWUtil.java:727)
at com.mathworks.toolbox.javabuilder.MWClassID.<clinit>(MWClassID.java:41)
at getmagic.main(getmagic.java:34)

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
matlab builder Siamak Faridani 29 Jan 2009 16:48:22
eclipse Siamak Faridani 29 Jan 2009 16:48:22
java Siamak Faridani 29 Jan 2009 16:48:22
matlab and java Siamak Faridani 29 Jan 2009 16:48:22
deploytool Siamak Faridani 29 Jan 2009 16:48:22
eclipse Jason 24 Apr 2009 16:14:28
deploytool Hemant 25 May 2009 03:41:42
eclipse Adam Leon 30 Oct 2009 11:38:01
eclipse Claire 28 Dec 2009 21:17:27

Contact us at files@mathworks.com