01-23-2014 08:57 AM
Hello,
For some reason I cannot open a matlab file. The file has been ftp'd and is called "Failed MAT file.zip"
I can open other .mat files just not this particular one. I am using DIadem 2012 SP1.
When I load the data into the data portal it says loading the file "file name" has failed for all the loading methods (DataPlugin) linked to this file type. No DataPlugin assigned for this type.
When I assign the plugin to open MatLab file I get another error stating it cannot open the file with the loader "MatLab"
Any ideas?
Thanks
01-24-2014 09:10 AM
Hi Tim,
I downloaded your *.mat file and had the same error message you report. The DataPlugin does appear to correctly import 239 of the channels from that file. Do you know if the "EngTrqStatic1" is the only one it fails on, or was that channel supposed to be empty? I'll send your file on to R&D for them to see what's happening during the import. There are some *.mat file data types that the DataPlugin can't support (like custom structs), so it's possible we won't be able to help, but let's see.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
01-27-2014 09:43 AM
Hi Tim,
From our point of view that *.mat data file is internally inconsistent. It contains an element of type "miCOMPRESSED" which starts at file position 51252054 and states that the element is 285561 bytes long. However, the file only contains 51380224 bytes, so the element is incorrect in pointing through byte 51537615. How was this file created? Is it possible that the write process was abruptly terminated?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
01-28-2014 09:45 AM
I have no doubt that there are issues with this file. I notified the engineer that created it that I even get errors when I open it in Matlab. I have asked him to recreate the data to see if these issues are resolved.
Thanks for your help and I consider this issue closed.