I have already searched LabVIEW support AND the Developer Zone, with
only partial success. I did find one KnowledgeBase article <a
href="http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/2f8ed0f588e06be1862565a90066e9ba?OpenDocument">Can
I Import Data from MATLAB to LabVIEW or Vice-versa?</a> on this
subject. The example code in that article "LV40 to MAT file" does
indeed create .mat files, but this seems to be written for use with a
much older version of Matlab (version 4.0 and previous), and therefore
will not handle a Matlab "Structured Array" data type, which was
introduced in version 5.0. I am looking for an already written
LabVIEW Library of routines to accomplish this, and I am willing to
pay for a commercial product, if such a product exists.
Tim
My need is immediate. Anyone wishing to explore the possibility of
writing this code "for sale" should email me direct at
tdv...@sandia.gov, and leave me a phone number to contact you at.
Thanks!
I'm dealing with exactly the same problem.
My Solution is to use the C-functions for reading/writing mat-files
provided with the MatLab distribution. I will try do generate a
dll-library with this functions and I hope I can use the LabVIEW
dll-interface to get this c-functions in the dll under LabVIEW
running. If this solution fails I will try to generate a little help
program which reads/writes the data from/to a mat-File by using
commandline arguments.
But I still hope there is an much easier way to get a working
solution, so I haven't start programming yet.