From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-02-2018 09:33 AM
Hi guys,
I tried to read some mat files with MATLAB Data Plugin [1.4.06900]. The vi works perfect with v5 or v7, but not able to read v7.3. Is anyone having this issue as well?
I am using LabVIEW 2016 Professional and MATLAB 2017a.
Thank you very much.
http://www.ni.com/example/29178/en/
File Extension: | *.MAT |
Direction: | Read / Write |
Last Change: | November 22, 2017 [1.4.06900] |
Update Information: |
The following changes have been made to this version:
|
https://www.mathworks.com/help/matlab/import_export/mat-file-versions.html
02-05-2018 09:10 AM
Hi gangxu,
Do you have a sample data set that we could use to try and reproduce this in-house?
02-05-2018 10:25 AM - edited 02-05-2018 10:29 AM
Hi Matt,
Thanks for you reply.
To run this test vi, please install MATLAB data plugin.
http://www.ni.com/example/29178/en/
I've have a couple of mat files attached in the zip file.
The mat files have identical variables inside.
>> save('D:\MAT_file_v7.3.mat','sine_signal','cosine_signal','-v7.3');
>> save('D:\MAT_file_v7.mat','sine_signal','cosine_signal','-v7');
>> save('D:\MAT_file_v6.mat','sine_signal','cosine_signal','-v6');
>> save('D:\MAT_file_v4.mat','sine_signal','cosine_signal','-v4');
Only v7.3 mat file fails.
02-06-2018 11:48 AM
Really solid description - I reproduced this here and will let our DataPlugin R&D know. Are you able to work around this for the time being or has this stopped your development?
02-06-2018 12:31 PM
Hi Matt,
Thanks for the support. I can deal with the mat file reading later. No big issue. Just wanna make sure it is a bug or my misunderstanding.
Thanks again.
Gang
02-07-2018 08:52 AM
No problem. Like I said, I looped in our DataPlugins team and they're in the process of digging into this. I can't comment definitively on when the fix will be available but we'll keep you updated.
02-07-2018 08:54 AM
Thanks Matt.