LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.mat file reading

Hello,

              I am in trouble in processing my image using mathscript node. I am doing a color segmentation to find some parameters to the given image. I have not seen many functions for color image processing especially color segmentation in labVIEW. Thus, I have choosen MATLAB for color segmentation and had written some script. Now I tried by copying the same script into mathscpript node in labVIEW to perform same procedure as like in MATLAB. Unfortunately, mathscpript does not have chance in running all available MATLAB functions and upon this my script is not working in labVIEW.

 

After all, I have no idea to continue my work in labVIEW

You can refer the below VI for clarification. How could I read .mat file into labVIEW and perform same operation as like in MATLAB.

 

To sum up, I have a script written in MATLAB which does not working with inbuilt mathscript. Is there any other way to read and process the MATLAB script in labVIEW.

 

Please shed some light on me.

 

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

Hi Peter,

 


I have choosen MATLAB for color segmentation


 

To start with color separation you could use that simple function, then maybe you don't need mathscript at all?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,059 Views)