loadDemonVoltTDMS
                    Version 1.0.0 (2.07 KB) by  
                  Angela Jiang
                
                
                  Loads electrochemistry data from TDMS files generated by the Demon Voltammetry FSCV software
                
                  
                  
              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:
- Download the loadDemonVoltTDMS.m file.
 - 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
 - Place loadDemonVoltTDMS.m in your MATLAB path.
 - 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 LinuxTags
Acknowledgements
Inspired by: TDMS Reader
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 | 
