32 bit java libs within 64 bit Matlab (maci64)

조회 수: 12 (최근 30일)
Stephan
Stephan 2011년 5월 4일
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