LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you read a MatLab Binary File

I need to read the attached Matlab binary file with LabVIEW. Does anyone have a VI to do it.
0 Kudos
Message 1 of 4
(3,212 Views)
Here is a knowledgebase that explains how this would be done. It includes some example programs to do it too.

http://digital.ni.com/public.nsf/websearch/2F8ED0F588E06BE1862565A90066E9BA?OpenDocument
0 Kudos
Message 2 of 4
(3,212 Views)
All I find in the reference is exporting from labview to Matlab and importing from Matlab ASCII files. I will try to get my data source to provide ASCII sets but I would prefer (and may heve to) read the binary version. I hope that you (or someone) can help.

Thanks..
0 Kudos
Message 3 of 4
(3,212 Views)
In the ReadMe file on that knowledgebase, I found this:

"the only way of sending the data from Matlab to LabVIEW without tempering with the MAT binary file structure is using the ASCII format"

I don't know if it would help, though, to run your MATLAB code straight from LabVIEW using the MATLAB Script.vi under the Analyze>>Mathematics>>Formula palette. Have you looked at this yet?
0 Kudos
Message 4 of 4
(3,212 Views)