DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Error using read TDMS example in MATLAB

Hello,

 

I am trying to run the Dev Zone example, "Reading TDM/TDMS Files with The MathWorks, Inc. MATLAB Software."  Even when pointing it to the sample TDM file, I get this error:

 

??Error using ==>calllib

parameter must be a string

 

Error in ==> Read_TDMData at 39

err=calllib('nilibddc','DDC_GetFileStringPropertyLength',pfile.Value,DDC_FILE_NAME,pfilenamelen);

 

I am using Matlab version 7.0.1

 

I have found other posts referencing other errors, but none with this error.  It looks to me that this version of Matlab is supported and should work.  Anyone have any ideas?  Thanks you.

 

-Chris

0 Kudos
Message 1 of 2
(3,728 Views)

Hi Chris,

 

There is a KnowledgeBase article that I found that looks to be the same as the example you were using in the Developer Zone.  I would like you to try this one out as well just to confirm that it is.  It mentions in this article which versions of MATLAB are officially supported.  As you are using an earlier version which has not been tested, it is possible that this may be the reason why it is not working.

Cheers,
Kelly R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,686 Views)