LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read binary file in Matlab

"Hello all!

Labview 7.0 has an example "Cont Acq to File (binary).vi" log the PCI 6014 card and writes the data to a binary file. How can I read that
file in Matlab(6.5.0... R13)? Does anyone have a solution for this?
0 Kudos
Message 1 of 2
(4,522 Views)

Hello,
Basically you can do it by saving the data in a file in MATLAB and reading it directly from LabVIEW, or vice versa. In MATLAB , the command "save" allows you to save the data in binary format (*.mat) or ASCII format. You also have an option of saving it in ASCII format using a tab delimiter between data points.
There is a knowledge base which talks in detail about how to share data in between labview and matlab Import data from labview to Matlab and vice versa [broken link removed].
Hope this helps. If not, please feel free to ask more questions.
Good luck and have a great day!
Koninika
National Instruments

Message 2 of 2
(4,521 Views)