32 bit java libs within 64 bit Matlab (maci64)

1 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call Java from MATLAB 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by