Call Matlab from Java - Error with PlotDemo

1 view (last 30 days)
Hi,
Trying to run
java -Djava.library.path="c:/Program Files/MATLAB/R2010b/runtime/win64" createplot
I received the following error "Exeption in thread "main" java.lang.UnsatisfiedLinkError: Failed to find the library mclmcrrt7_14.dll, required by MATLAB Builder JA or the MCR, on java.library.path ..."
The required dll file is on his place and the path to that file is present in the system variable PATH, too.
It is OK with MATLAB R2006b. With MATLAB R2010b I received the same error on several examples.

Answers (1)

Walter Roberson
Walter Roberson on 6 Apr 2011
The file required by MCR is mclmcrrt714.dll with no underscore in its name.
Please see the following MATLAB Solution 1-1IW46N

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!