Matlab Compiler with java components

1 view (last 30 days)
Patrick
Patrick on 21 Nov 2012
I've been trying to compile a Matlab application that uses Java as a front end for UI. In the past I have had no problems compiling. However I keep encountering an error with the function im2java. I get the following error during the compile:
IM2JAVA is not supported because:
AWT is not currently available.'
It's used when converting an image matrix into a java image in order to be displayed on the screen.
Any insight as to what is happening would be greatly appreciated.
Thanks.

Answers (1)

Santhosh
Santhosh on 21 Nov 2012
I found the info about converting a image to java image on below link. Please check whether it is helpful for you.
  1 Comment
Patrick
Patrick on 22 Nov 2012
Thanks for the update but I don't have a problem using im2java while I'm running the function from the command window, only when it is part of a compiled program that I receive this error during compilation.

Sign in to comment.

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!