Tom Reilly wrote:Here's a guess (I know nothing about MatLab). Rather than trying to cast the array of objects to array of floats/Floats, try casting the first element of the array from an Object to float/Float
Wouter Oet wrote:I looked it up and this is what I found:
Z = boolean
B = bytebyte
C = char
D = double
F = float
I = int
J = long
S = short
class/interface = Lclassname;
[F = float[]
[[F = float[][]
so [Ljava.lang.Object is an array of objects.
Wouter Oet wrote:Maybe you're looking for the float[] (notice the primitive not the wrapper). If that also fails you can check the classname with object.getClass().getName() and classed it to that class.
Devaka Cooray wrote:
Aniruddha Chaudhari wrote:Anyway, I figured out the solution.
Can you share that solution with us?
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jdk1.6.0_16\bin\jmagick.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Java\jdk1.6.0_21\bin\jmagick.dll: %1 is not a valid Win32 application