I would like to open TDMS file in MATLAB. I do not have a script. How can I open it?

4 Kommentare

Eric Wetjen
Eric Wetjen am 11 Mär. 2022
In R2022a, TDMS read functionality was added to Data Acquisition Toolbox. See this example.
Andy Stevenson
Andy Stevenson am 6 Mär. 2023
Bearbeitet: Andy Stevenson am 6 Mär. 2023
I have the DAT installed but get the dreaded "Unrecognized function or variable 'tdmsread'." when I attempt to use it to read a tdms file. Is there something special to use the DAT functions?
Walter Roberson
Walter Roberson am 7 Mär. 2023
@Andy Stevenson which release are you using? tdmsread was introduced in R2022a.
Andy Stevenson
Andy Stevenson am 7 Mär. 2023
Sorry, I posted this as a stand-alone question in another post. I was in error as I thought I was using 2022b but my eyes were playing tricks on me. I'm still at 2020b.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Eric Wetjen
Eric Wetjen am 11 Jun. 2024

1 Stimme

In R2022a, TDMS read functionality was added to Data Acquisition Toolbox. See this example.

Weitere Antworten (2)

Walter Roberson
Walter Roberson am 9 Apr. 2016

0 Stimmen

2 Kommentare

Taka
Taka am 9 Apr. 2016
Thank you for your help. I was able to perform TDMS_getStruct without problem, but the TDMS file was not read. I only got the information about the tdms file structure. Is there any suggestions?

Melden Sie sich an, um zu kommentieren.

kamlesh mistry
kamlesh mistry am 8 Nov. 2018
Bearbeitet: Walter Roberson am 9 Nov. 2018

0 Stimmen

Hi
I am trying to collate a number of tdms files into an array.
I can load each files in using the following command. how can I write this into an array?
rTables is to be my array to hold multiple struct data.
for iCount=1:fileCount
rTables = io.tdmsReadCore(cFiles{iCount}, params);
end
Thanks
Kam

1 Kommentar

Walter Roberson
Walter Roberson am 9 Nov. 2018
I do not seem to find any reference for io.tdmsReadCore so I do not know what data structure it outputs ?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Import and Analysis finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Gefragt:

am 8 Apr. 2016

Beantwortet:

am 11 Jun. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by