LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem showing image with matlab comand in Matlab script node

hi everyone.

I'm trying to use a matlab script in labview.I'd like to capture an image form a web cam with the imaq tools and transfer the data as an array to the matlab script node. I'm doing this way becuse i want to make matrix variations with matlab script secuences.I can obtain the image, the problem is when i'm trying to show the matrx obtained in matlab script node with the comand imshow().I'm using the Color ImaqToArray block to convert the image into array, and putting the output of this block to the matlab script node. The conection doesn't show any problem, but when i run the program, the figure obtained by the matlab comand only shows an withe image with some black pixels.

Is there any problem with my diagram?...Is there any problem with the imshow() comand??

I'm using Labview2011 and MatlabR2011b.

Can anybody help me?

Below i'm attaching the labview program

Thank you

 

 

0 Kudos
Message 1 of 1
(2,092 Views)