loadDemonVoltTDMS

Loads electrochemistry data from TDMS files generated by the Demon Voltammetry FSCV software

https://github.com/Jiang-Angela/loadDemonVoltTDMS

You are now following this Submission

Description
The loadDemonVoltTDMS script loads the contents of .tdms files collected using "Demon Voltammetry" into Matlab, and converts the 16-bit integer values to current (nA) values based on the file's specified scaling coefficients and gains.
Requirements
This script uses the TDMS Reader package by Jim Hokanson to load TDMS files into Matlab. This package can be downloaded from: https://www.mathworks.com/matlabcentral/fileexchange/30023-tdms-reader.
The TDMS Reader package is preferred over using Matlab's tdmsread function from the Data Acquisition Toolbox (R2022a and later) as the Data Acquisition Toolbox requires Windows to run. Thus these scripts can load files in both MacOS and Windows.
How to Use:
  1. Download the loadDemonVoltTDMS.m file.
  2. Dependencies: Ensure you have the TDMS Reader package by Jim Hokanson installed and on your MATLAB path. You can download it from: https://www.mathworks.com/matlabcentral/fileexchange/30023-tdms-reader
  3. Place loadDemonVoltTDMS.m in your MATLAB path.
  4. Use the function in MATLAB:
filename = 'path/to/your/datafile.tdms'; % Replace with your file path
[data, commandVoltage, properties] = loadDemonVoltTDMS(filename);

Cite As

Angela Jiang (2026). loadDemonVoltTDMS (https://in.mathworks.com/matlabcentral/fileexchange/181384-loaddemonvolttdms), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: TDMS Reader

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0