Jump to content

Looking for Sub Vi to read Matlab Binary Files


Recommended Posts

I am attempting to read Matlab Binary Files into LabView and am having difficulty.

Anyone have a Sub Vi that is capable of reading Matlab Files stored in binary (.dat)?

The files are too large to use Ascii.

Any help is appreciated.

I think there are such VIs on the NI site. Try to locate them there. I haven't used them but a collegue got them in the past. They were limited in the data types supported but adding new datatypes didn't seem to difficult with a little digging.

Rolf Kalbermatter

Link to comment
  • 4 weeks later...
I am attempting to read Matlab Binary Files into LabView and am having difficulty.

Anyone have a Sub Vi that is capable of reading Matlab Files stored in binary (.dat)?

The files are too large to use Ascii.

Any help is appreciated.

Hello Jason,

I had also a lot of difficulty but i have made a sub vi that will read .MAT files...

This vi delivers the matlab variable name the type and the data in a 2D double array.

Try this out, and tell me if you can use this.

John

PS I added a matlab.mat file to test (this file is generated with Matlab R2006a.

Download File:post-968-1154419135.llb

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.