How to open TDMS file in MATLAB

19 ビュー (過去 30 日間)
Taka
Taka 2016 年 4 月 8 日
回答済み: Eric Wetjen 2024 年 6 月 11 日
I would like to open TDMS file in MATLAB. I do not have a script. How can I open it?
  4 件のコメント
Walter Roberson
Walter Roberson 2023 年 3 月 7 日
@Andy Stevenson which release are you using? tdmsread was introduced in R2022a.
Andy Stevenson
Andy Stevenson 2023 年 3 月 7 日
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.

サインインしてコメントする。

採用された回答

Eric Wetjen
Eric Wetjen 2024 年 6 月 11 日
In R2022a, TDMS read functionality was added to Data Acquisition Toolbox. See this example.

その他の回答 (2 件)

Walter Roberson
Walter Roberson 2016 年 4 月 9 日
  2 件のコメント
Taka
Taka 2016 年 4 月 9 日
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?
Walter Roberson
Walter Roberson 2016 年 4 月 10 日

サインインしてコメントする。


kamlesh mistry
kamlesh mistry 2018 年 11 月 8 日
編集済み: Walter Roberson 2018 年 11 月 9 日
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 件のコメント
Walter Roberson
Walter Roberson 2018 年 11 月 9 日
I do not seem to find any reference for io.tdmsReadCore so I do not know what data structure it outputs ?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeTDMS Format Files についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by