'imresizemex' for input arguments of type 'uint8'

1 view (last 30 days)
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 !

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!