12-01-2008 10:34 AM
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
12-01-2008 10:55 AM
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.