'imresizemex' for input arguments of type 'uint8'

1 visualizzazione (ultimi 30 giorni)
Wei-Cheng
Wei-Cheng il 30 Lug 2014
I'm trying to deploy an application from Matlab to JAVA. I create my jar file from Matlab R2011a with the deploytool on windows 7.
I also installed MCR r2011a on ubuntu, and set environment variable as follow.
## Matlab compiler Runtime (MCR)
export LD_LIBRARY_PATH=/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/bin/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/java/jre/glnxa64/jre/lib/amd64/server:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/java/jre/glnxa64/jre/lib/amd64:$LD_LIBRARY_PATH
export XAPPLRESDIR=/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/X11/app-defaults
When I run my jar file on the ubuntu, I got these error:
com.mathworks.toolbox.javabuilder.MWException:
Undefined function or method 'imresizemex' for input arguments of type 'uint8'.
Error in ==> TextDetect at 78
Error in ==> imresize at 169
Error in ==> imresize>resizeAlongDim at 792
I got the same problem when I call the funtion in image procssing toolbox, such as imresize, dilate ... etc
If anyone has a solution about this problem, please give me a hint. Thanks !

Risposte (0)

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by