LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

Loading MAT data files

Hi,

 

I am using Mathscript window to load MATLAB mat-file.  After the confirmation of when the file is loaded, I find the variable src1 to be empty.  It should contain a field of data.  I have attached the dta file for your evaluation.  Please advise what I am doing wrong.

 

Regards,

 

Duc

 

 

 

0 Kudos
Message 1 of 3
(7,067 Views)
Hello Duc,

Unfortunately, your .mat file contains a structure, which LabVIEW MathScript does not currently support.  We are aware of this limitation and hope to offer support in a future version.  As a workaround, you can save your data as separate variables instead of a cluster (e.g. src1_RangeMin, src1_RangeMax, etc.)

Grant M.
Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments
0 Kudos
Message 2 of 3
(7,055 Views)

Hello Grant,

 

Thanks for the reply.  Unfortunately, I can't change the format of the data files.  Is there a method I can open the mat-file in the LABVIEW environment, maybe to use a different option to Mathscript?

 

Thanks in advance,

 

Duc

0 Kudos
Message 3 of 3
(7,042 Views)