As of my knowledge, MATLAB R2022a and later versions include a function “tdmsread” that retrieves data from the specified TDMS file and results in a cell array of tables. Each of these tables corresponds to a channel group.
The syntax for the same is as follows:
data = tdmsread(tdmsfile)
Name-value pairs can be used to filter the data being read and to specify the output format.
data = tdmsread(tdmsfile,Name=Value)
For more information, refer to the documentation below: