32 bit java libs within 64 bit Matlab (maci64)

8 vues (au cours des 30 derniers jours)
Stephan
Stephan le 4 Mai 2011
Hello everybody.
I'd like to instantiate a java class out of MATLAB. I have Matlab 2011a on a Mac (64bit) and the java class i want to use is just available in 32 bit. Unfortunately when I try to do
retObj=javaObject('MyClass');
I get a bunch of errors back, amongst others:
/System/Library/Java/Extensions/libQTJNative.jnilib: no suitable image found. Did find: /System/Library/Java/Extensions/libQTJNative.jnilib: no matching architecture in universal wrapper
I can use the library from the console, when I use
java -d32 MyClass
Does anybody know how to force Matlab using java 32bit within Matlab? Thanks, Stephan

Réponses (0)

Catégories

En savoir plus sur Call Java from MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by