loadDemonVoltTDMS

Loads electrochemistry data from TDMS files generated by the Demon Voltammetry FSCV software
9 Downloads
Updated 30 Jun 2025

View License

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 (2025). loadDemonVoltTDMS (https://uk.mathworks.com/matlabcentral/fileexchange/181384-loaddemonvolttdms), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired by: TDMS Reader

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0