I get the following error when I try to read a tdms file:
??? Undefined function or method 'TDMS_handleGetDataOption' for input
arguments of type 'struct'.
Error in ==> TDMS_readTDMSFile at 216
TDMS_handleGetDataOption('check',paramsStruct)
Error in ==> TDMS_getStruct at 57
[temp,metaStruct] = TDMS_readTDMSFile(filePath,readOptions{:});
How do I solve this?
Thanks!
Comment only
01 Mar 2013
TDMS Reader
Read TDMS files v1 & v2 without DLL
Current Version: 2.5
I am trying to use the file to convert tdms file but I have a following error:
Error using TDMS_preprocessFile (line 450)
The remaining data doesn't split evently into chunks, estimated # of chunks: 8.181818e-01
Error in TDMS_readTDMSFile (line 226)
metaStruct = TDMS_preprocessFile(fid,tdmsFileName,paramsStruct);
Could someone help me to solve it, please?
Thanks
Comment only
22 Feb 2013
TDMS Reader
Read TDMS files v1 & v2 without DLL
Current Version: 2.5
I am using your algorithm posted on the MATLAB Central to read data from a TDMS file, however I am getting an error which I do not quite understand why.
This is a section of my code:
getStruct = struct;
getStruct.group = {'6120'};
getStruct.channel = {'Untitled 3'};
getStruct.indices = [2 3];
tempOutput4 = TDMS_readTDMSFile(fname,'GET_INDICES',getStruct,'SUBSET_IS_LENGTH',false)
However I get these errors:
Error using cell/ismember>cellismemberlegacy (line 132)
Input A of class cell and input B of class cell must be cell arrays of strings,
unless one is a string.
Error in cell/ismember (line 76)
[varargout{1:nlhs}] = cellismemberlegacy(varargin{:});
Error in TDMS_handleGetDataOption (line 167)
[~,loc] = ismember(objPaths_getIndex,objectPaths);
Error in TDMS_readTDMSFile (line 228)
optionStruct = TDMS_handleGetDataOption('getArray',paramsStruct,metaStruct); %Option
handling
Error in Test1 (line 21)
tempOutput4 =
TDMS_readTDMSFile(fname,'GET_INDICES',getStruct,'SUBSET_IS_LENGTH',false)
I am using MATLAB R2012b.
Any suggestions?
5
22 Feb 2013
TDMS Reader
Read TDMS files v1 & v2 without DLL
Current Version: 2.5
Comment only