08-06-2012 10:21 AM
Hello,
I am trying to load a MatLab file using DIAdem 2011. I downloaded the Data plugin from NI's website and installed it.
When I try to load a *.MAT file I get the following error.
Cannot load the file "C:\Documents and Settings\All Users\My Documents\SignalExpress Data\08062012_104428_AM\voltage_current_ni_test1.mat" with the loader "MatLab".
Further information:
Cannot copy bulk data from the "C:\Documents and Settings\All User\My Documents\SignalExpress Data\08062012_104428_AM\voltage_current_ni_test1.mat" file into the internal data.
I have never had any other uses using the additional plugins for DIAdem until I tried to condition a *.MAT file.
Solved! Go to Solution.
08-06-2012 03:15 PM
Hi Smooth,
The MatLab DataPlugin has performed very well in the past. My best guess is that this particular *.mat file may contain certain data types (3D arrays, structs, etc.) that are not supported yet. Do you have any way of verifying what types of variables are stored in that *.mat file? Does the MatLab DataPlugin work with any other *.mat files you have?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
08-07-2012 08:14 AM
Hey Brad,
You are correct. The *.mat file has a lot of structs in it therefore the plugin won't work.
Thanks for your help.
08-10-2012 03:33 PM
Hi Tim,
Actually, R&D is currently working on expanding the MatLab DataPlugin to improve it's support of unusual data types. I don't know how much the coverage with improve, but I'm sure they would love to test their efforts with your data files. If you want to increase the odds that the newer DataPlugin version will work with your *.mat file struct channels, please email me (brad.turpin@ni.com) or the DataPlugin request email (dataplugins@ni.com) and submit some examples of these *.mat files, ideally with an ASCII or Excel file that lists the correct channel values for each file.
Brad Turpin
DIAdem Product Support Engineer
National Instruments