TDMS file merge and reader

版本 1.2.0 (3.6 KB) 作者: Pedro Correia
These functions allow to read and merge different .tdms files in a single structure as long as the files has the same sensors.
75.0 次下载
更新时间 2022/12/2

查看许可证

These functions allow to merge different .tdms files in a single structure as long as the files as the same sensors. Files need to have the same number of sensors and same sensors name.
Ideal when the data is splitted in diferent smaller size files.
Easiest use:
directory=('tdms_files_path');
file_name=get_files_TDMS(directory);% function get all file names that are .tdms
TestData=GetTDMS(directory,file_name,0);
[x,y]=time_values_TDMS(TestData.Sensors.sensor_name);
figure()
plot(x,y)
Functions:
[files] = get_files_TDMS(directory) - this function gets all the tdms files inside a directory
[TestData] = GetTDMS( directory, file_name, Save_folder) - merge all files into a single structure
[x, y] = time_values_TDMS(TestData_sensor) - provides the time and sensor values for any specific sensor
Read_TDMS_example.m
Contains a example of a script that can be used to read the TDMS data.
This add-on included theTDMS reader add-on by Jim Hokanson.

引用格式

Pedro Correia (2024). TDMS file merge and reader (https://www.mathworks.com/matlabcentral/fileexchange/120863-tdms-file-merge-and-reader), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020b
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签
致谢

参考作品: TDMS Reader

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0

Missing function Getsignals

1.1.0

Added example for easiest use. Included required add-on.

1.0.0