Jim, Please ignore my earlier comment. I have resolved (stupid user error by me). I now get to the following error:
my_tdms_struct = TDMS_getStruct(filename);
??? In an assignment A(I) = B, the number of elements in B and
I must be the same.
Error in ==> TDMS_readTDMSFile at 255
groupIndices(curGroupCount) = I_groupObject;
Error in ==> TDMS_getStruct at 57
[temp,metaStruct] = TDMS_readTDMSFile(filePath,readOptions{:});
The value of curGroupCount is 1 but the I_groupObject is an array of length 14 with integer values of 2 through 15. Not sure why the mismatch here
Jim, I've just downloaded your files and tried to read a TDMS file v2 astarting with what you have in the readMe.txt file. When I run TDMS_getStruct(filename) and select my file I get the following error messages:
??? Undefined function or method 'TDMS_handleGetDataOption' for input arguments of type 'struct'.
Error in ==> TDMS_readTDMSFile at 192
TDMS_handleGetDataOption('check',paramsStruct)
Error in ==> TDMS_getStruct at 57
[temp,metaStruct] = TDMS_readTDMSFile(filePath,readOptions{:});