07-09-2009 09:32 AM
What I do usually is save data in tdms format and then, in MatLab, have a program to convert it to .mat format.
But I agree that my life would be a lot easier if there was a better way of doing this without the need of converting.
07-09-2009 09:41 AM
The following user wrote a MatLab script to open tdms files:
http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=317079#M317079
It may eed to be modified for your specific needs.
07-10-2009 01:20 AM
Thanks for everyone
I continue studying is it worth the effort to change our measurement system. Now we have Matlab+Matlab DAQ-toolbox and NI DAQ hardware, PCI-cards PCMIA-cards and USB-modules. Matlab DAQ-toolbox has some features, limitations, which I do not like. I believe that using LabView it is possible to use NI's DAQ hardware more efficient way. Do I get more unwanted features if I change the system to use LabView for DAQ? This is the question.
The simple tests I made with LabView MathScript and Matlab Sript Node were not encouraging.
MathScipt is at first glance looking like Matlab but it uses its own save format. Is there other unwanted features?
Using Matlab Script Node was not straightforward. I am afraid it may be labile solution. I see that I got no comments about it. I have tested SciLab Script Node too. It has similar symptoms as Matlab Script Node. Hopefully some day I find my mistake. Mistake is never at Software Vendor side.
File and data formats and conversion from format to another format raised lively discussion, which indicates me that there may be risks. Using third party file format like HDF5 is interesting, but means different risk and lot of work.
I am out of office long time starting from next week. When I come back, I check new messages.
VesaU
06-12-2014 11:22 AM - edited 06-12-2014 11:35 AM
Has anyone found a good solution to this problem? I'm still looking to write .mat files using Labview. This is how far I got:
At the moment I'm using HDF5 1.8.13 for windows 64-bit together with Labview 2013 64-bit. Via the JKI VI Package Manager I installed Hierarchical Data Format (HDF 5) version 2.6.6.104
http://www.hdfgroup.org/HDF5/release/obtain5.html
http://h5labview.sourceforge.net/
With this I can open .mat files that are saved with the '-v7.3' option, and read their content. Writing does not work so far.