Rank: 83704 based on 0 downloads (last 30 days) and 0 file submitted
photo

Andreas

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Andreas
Updated File Comments Rating
07 Nov 2011 TDMS Reader Read TDMS files v1 & v2 without DLL Current Version: 2.5 Author: Jim Hokanson

Does the Code work with Matlab 7.11 ?

I've tried it on a 32bit (XP) and a 64bit (Windows7) System with various TDM/TDMS files.
Depending on the type of input file I get 2 different error messages. For native sample files from NI the reaction is:

>> my_tdms_struct = TDMS_getStruct(filePath);
??? Error using ==> TDMS_processLeadIn at 33
Unexpected lead in header

Error in ==> TDMS_preprocessFile at 179
[flags,info] = TDMS_processLeadIn(fid,lastLetter);

Error in ==> TDMS_readTDMSFile at 223
metaStruct = TDMS_preprocessFile(fid,tdmsFileName,paramsStruct);

Error in ==> TDMS_getStruct at 57
[temp,metaStruct] = TDMS_readTDMSFile(filePath,readOptions{:});

My self-generated TDMS files (read with NI Diadem and Excel importer without problems) gave

??? Subscripted assignment dimension mismatch.

Error in ==> TDMS_preprocessFile at 456
rawDataInfo(curIndex).dataMatrix(indices,2) = ...

Error in ==> TDMS_readTDMSFile at 223
metaStruct = TDMS_preprocessFile(fid,tdmsFileName,paramsStruct);

Error in ==> TDMS_getStruct at 57
[temp,metaStruct] = TDMS_readTDMSFile(filePath,readOptions{:});

Is it a Matlab version issue or am I missing something else?

Best regards,
Andreas
[I'm a different Andreas than the one who posted here before..]

Contact us