LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Read TDMS Files in Matlab in OSX

Using the example found on the NI website (http://digital.ni.com/public.nsf/allkb/0EEADA99DC7D00A4862572E30037C3A2), I am able to read my TDMS files into Matlab when using a PC.  However, when I try to read them on my Mac, I receive an error:

 

??? There was an error loading the library "/Applications/MATLAB75/work/TDMS_files/dev/bin/nilibddc.so"
Error using ==> loaddefinedlibrary
dlopen(/Applications/MATLAB75/work/TDMS_files/dev/bin/nilibddc.so, 1): image not found

Error in ==> read_tdms at 21
loadlibrary(DLL_Path, H_Path);

 

 My best guess for this error is the fact that Matlab operates through a Linux interface on Mac, which I found will open the file type .so and not .dll for this type of library.  Is there some way to get around this in OSX and get it to read the .dll files?  Or is there some way to get the libraries as .so files instead of .dll files?

 

Thanks for any help!

-Shelby

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

Shelby,

 

You may wish to look at a Matlab script another user wrote since they were having issues with NI's matlab support:

 

http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=318487#M318487

 

The script supposedly converts TDMS files directly in Matlab with no use of NI generated external DLLs.  He was having issues because the NI tools hadn't been updated for the new version of Matlab.

0 Kudos
Message 2 of 2
(3,191 Views)