How do I configure the Java run time library path (java.library.path) in MATLAB with and without admin privileges?
Mostra commenti meno recenti
I need to have the MATLAB JVM load a native library (.dll file on Windows, .so file on Unix, and .dylib file on Mac).
How can I set the Java run time library path (java.library.path) in MATLAB so that the MATLAB JVM can pick up the custom library? I would like to be able to set it regardless of access to admin privileges.
If I use the Java setProperty method in MATLAB:
java.lang.System.setProperty('java.library.path', 'C:\TEMP')
java.lang.System.getProperty('java.library.path')
The above code does not change the libraries being used, although the property has changed:
ans =
C:\TEMP
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Introduction to Installation and Licensing in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!