To download NI software, including the products shown below, visit ni.com/downloads.
The TDM MATLAB Example shows how to read TDM and TDMS files from within the MATLAB® from THE MathWorks software environment.
Supported Features:
FILE EXTENSION: *.TDM; *.TDMS
DIRECTION: Read / ----
LAST CHANGE: September 2020
Description-Separate-2
If you copy the TDM dll and the header file into "C:\test\", you must specify the location in your m-script like this:
examplePath = 'C:\test';
hfile = [examplePath '\nilibddc_m.h'];
loadlibrary([examplePath '\nilibddc'], hfile);
Keep in mind that this provides only the capability to read TDM/TDMS files with the MATLAB® software environment and that the example has been tested with MATLAB® Versions R2007a, R2007b, and R2008a. It is expected that the example will work with earlier versions as well.
Important: Please follow the licensing and installation instructions in the files license.rtf and Readme.txt which are part of this download.
MATLAB® is a registered trademark of The MathWorks, Inc.
How-Separate-2
Related-Separate-2
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Hello.
I have a question. How can I get the sampling frequency or the sampling period from my .tdms file?
PS. Great job. It is very useful.