资源简介
ConvertTDMS-master函数可以用matlab直接打开或者转化tdms文件
文件包含convertTDMS函数和simpleconvertTDMS函数,两者功能相似
文件包含test.m文件,可以测试函数调用效果
代码片段和文件信息
function [ConvertedDataConvertVerChanNamesGroupNamesci]=convertTDMS(varargin)
%Function to load LabView TDMS data file(s) into variables in the MATLAB workspace.
%An *.MAT file can also be created. If called with one input the user selects
%a data file.
%
% TDMS format is based on information provided by National Instruments at:
% http://zone.ni.com/devzone/cda/tut/p/id/5696
%
% [ConvertedDataConvertVerChanNames]=convertTDMS(SaveConvertedFilefilename)
%
% Inputs:
% SaveConvertedFile (required) - Logical flag (true/false) that
% determines whether a MAT file is created. The MAT file‘s name
% is the same as ‘filename‘ except that the ‘TDMS‘ file extension is
% replaced with ‘MAT‘. The MAT file is saved in the same folder
% and will overwrite an existing file without warning. The
% MAT file contains all the output variables.
%
% filename (optional) - Filename (fully defined) to be converted.
% If not supplied the user is provided a ‘File Open‘ dialog box
% to navigate to a file. Can be a cell array of files for bulk
% conversion.
%
% Outputs:
% ConvertedData (required) - Structure of all of the data objects.
% ConvertVer (optional) - Version number of this function.
% ChanNames (optional) - Cell array of channel names
% GroupNames (optional) - Cell array of group names
% ci (optional) - Structure of the channel index (an index to
% where all of the information for a channel resides in a
% file.
%
%
%‘ConvertedData‘ is a structure with ‘FileName‘ ‘FileFolder‘ ‘SegTDMSVerNum‘
%‘NumOfSegments‘ and ‘Data‘ fields‘. The ‘Data‘ field is a structure.
%
%‘ConvertedData.SegTDMSVerNum‘ is a vector of the TDMS version number for each
%segment.
%
%‘ConvertedData.Data‘ is a structure with ‘Root‘ and ‘MeasuredData‘ fields.
%
%‘ConvertedData.Data.Root‘ is a structure with ‘Name‘ and ‘Property‘ fields.
%The ‘Property‘ field is also a structure; it contains all the specified properties
%(1 entry for each ‘Property) for the ‘Root‘ group. For each ‘Property‘ there are
%‘Name‘ and ‘Value‘ fields. To display a list of all the property names input
%‘{ConvertedData.Data.Root.Property.Name}‘‘ in the Command Window.
%
%‘ConvertedData.Data.MeasuredData‘ is a structure containing all the channel/group
%information. For each index (for example ‘ConvertedData.Data.MeasuredData(1)‘)
%there are ‘Name‘ ‘Data‘ and ‘Property‘ fields. The list of channel names can
%be displayed by typing ‘ChanNames‘ in the Command Window. Similarly the list
%of group names can be displayed by typing ‘GroupNames‘ in the Command Window.
%The ‘Property‘ field is also a structure; it contains all the specified properties
%for that index (1 entry in the structure for each ‘Property‘). Any LabView waveform
%att
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-08-17 11:00 ConvertTDMS-master\
文件 1550 2019-07-21 11:11 ConvertTDMS-master\LICENSE.txt
文件 3146 2019-07-21 11:11 ConvertTDMS-master\README.md
文件 164895 2019-07-21 11:11 ConvertTDMS-master\Raw000.mat
文件 463240 2019-07-21 11:11 ConvertTDMS-master\Raw000.tdms
文件 70505 2019-07-21 11:11 ConvertTDMS-master\convertTDMS.m
文件 70503 2019-07-21 11:11 ConvertTDMS-master\convertTDMS.m~
目录 0 2020-08-17 10:53 ConvertTDMS-master\exampleFiles\
文件 24894 2019-07-21 11:11 ConvertTDMS-master\exampleFiles\simple_test.mat
文件 28776 2019-07-21 11:11 ConvertTDMS-master\exampleFiles\simple_test.tdms
文件 776 2019-07-21 11:11 ConvertTDMS-master\exampleFiles\simple_test.tdms_index
文件 170 2019-07-21 11:11 ConvertTDMS-master\exampleFiles\testFileInventoryList.txt
文件 71790 2019-07-21 11:11 ConvertTDMS-master\simpleConvertTDMS.m
文件 33 2020-08-17 10:50 ConvertTDMS-master\test.m
相关资源
- matlab生成四种波形的mif文件,供fpga中
- MATLAB缺陷检测系统
- 基于MATLAB缺陷检测系统
- MATLAB疲劳检测GUI.zip
- RRT、RRT-Connect、LazyRRT、RRTextend、RRT*的
- 这是一个用matlab实现的RBF神经网络手
- 运用偏微分方程(PDE)方法进行图像
- 实现了基于混合高斯模型的背景减除
-
太阳能电池板 simuli
nk模型matlab.zip -
电动汽车电池充放电simuli
nk仿真模型 - 通过简单的matlab程序对硬币的数量和
- 小波熵matlab程序--------
- OFDM可见光通信系统仿真.zip
- 基于MATLAB的KNN算法实现多分类.rar
- QC-LDPC码的编码和译码程序
- [数字信号处理实验指导书MATLAB版][程
- 在matlab下,验证码识别部分,字符分
- 手写数字的识别。基于人工神经网络
- bp神经网络实现的手写英文字母识别,
- 光伏发电I-V、P-V特性matlab程序源码
- 电机模糊控制仿真.rar
- 3D Cone beam CT (CBCT) projection backproj
- MATLAB遗传算法解决旅行商问题TSP、多
- 汉宁窗FIR数字低通滤波器MATLAB
- MATLAB写字板手写汉字识别系统[鼠标手
- 测量平差软件-MATLAB-自动间接平差-武
- 机器人避障算法的matlab仿真代码
- 蚁群算法进行二维路径规划.zip
- LBM模拟多孔介质流
- 基于粒子群算法的投影寻踪法matlab代
评论
共有 条评论