https://drive.google.com/drive/folders/1SLYPYeZqFFTJnZIeY_VhvrNOBYI1Kv9a?usp=sharing
I tried reading this tdms file, however it shows entries upto 1500 sample size only for a particular channel. I would like to have a table of all channels with their row wise values so that I can access any channel. Additionally, the same tdms file I tried in python entries shows upto 80k rows for a single channel. Is the file size too much to handle in MATLAB, why it is not showing all data and plotting the same for a single channel. Further, can I import this for signal processing toolbox in MATLAB.

7 Kommentare

Shivam Gothi
Shivam Gothi am 2 Okt. 2024
Hello @Susmita,
The file "Data1.tdms" is not accessible. Can you please share the downloaded "Data1.tdms" file?
Susmita
Susmita am 2 Okt. 2024
Bearbeitet: Susmita am 2 Okt. 2024
The file exceeds 5 MB and hence unable to upload and hence by clicking one can download the file as I have provide access to everyone.
Shivam Gothi
Shivam Gothi am 2 Okt. 2024
hello @Susmita,
I am getting this window when I clicked "data1.tdms"
Susmita
Susmita am 2 Okt. 2024
Sorry for the trouble. I have uploaded data and code in google drive. Please have a look over it.
https://drive.google.com/drive/folders/1SLYPYeZqFFTJnZIeY_VhvrNOBYI1Kv9a?usp=sharing
Star Strider
Star Strider am 2 Okt. 2024
The tdmsread function requires the Data Acquisition Toolbos or the Communications Toolbox. It should be available here, except that the files are too large (‘Data1.tdms’ is 135.3 MB and ‘Data1.zip’ is 48.4 MB) to upload to MATLAB Answers, so this has to wait for someone with one of those Toolboxes to see this and read the files offline.
Susmita
Susmita am 2 Okt. 2024
Thank you @Star Strider. I installed these toolboxes, still I am unable to see entire dataset, only 1500 sample size is what I can see in MATLAB.
Star Strider
Star Strider am 2 Okt. 2024
My pleasure!
My point is that only someone with one of those Toolboxes installed will be able to help you with this.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Mathieu NOE
Mathieu NOE am 2 Okt. 2024

0 Stimmen

hello
No toolbox required here - I simply used this Fex submission (files are attached if you prefer the fast way)
No problem so far , I could plot the microphone channel to double check
Name Size Bytes Class Attributes
ChanNames 1x1 3092 cell
ConvertVer 1x4 8 char
ConvertedData 1x1 141961792 struct
ChanNames :
{'Untitled/00_A08_L_z' }
{'Untitled/01_A08_L_y' }
{'Untitled/02_A03_L_z' }
{'Untitled/03_A03_L_y' }
{'Untitled/04_A09_L_y' }
{'Untitled/05_A09_L_z' }
{'Untitled/06_A10_L_y' }
{'Untitled/07_A10_L_z' }
{'Untitled/08_A04_L_z' }
{'Untitled/09_A04_L_y' }
{'Untitled/10_A05_R_z' }
{'Untitled/11_A05_R_y' }
{'Untitled/12_A01_R_z' }
{'Untitled/13_A01_R_y' }
{'Untitled/14_A06_R_y' }
{'Untitled/15_A06_R_z' }
{'Untitled/16_A07_R_y' }
{'Untitled/17_A07_R_z' }
{'Untitled/18_A02_R_y' }
{'Untitled/19_A02_R_z' }
{'Untitled/20_Microphone'}
[ConvertedData,ConvertVer,ChanNames]=convertTDMS(true,'Data1.tdms');
% plot last channel (microphone)
plot(ConvertedData.Data.MeasuredData(23).Data);

2 Kommentare

Susmita
Susmita am 2 Okt. 2024
Thank you @Mathieu NOE that really worked for me.
Mathieu NOE
Mathieu NOE am 2 Okt. 2024
as always, my pleasure !

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by