reference
API Reference › Gamry DTA Files
labkit.dta.findFiles
Find DTA files in a folder and its subfolders.
Syntax
filepaths = labkit.dta.findFiles(rootDir)Description
Recursively walks rootDir and collects files whose extension is .dta, using a case-insensitive comparison. The function does not inspect file contents; use detectType or loadFile to validate each result.
Inputs
rootDir- Character vector or string scalar naming an existing folder.
Outputs
filepaths- Cell row vector of full file paths in directory traversal order. The value is an empty cell array when no DTA files are found.
Errors
Throws labkit:dta:InvalidFolder when rootDir is not a text scalar or does not name an existing folder.
Typical Call
files = labkit.dta.findFiles("data");
[items, report] = labkit.dta.loadFiles(files, "auto");Related APIs
labkit.dta.detectType— Identify the supported Gamry DTA data family in a file.labkit.dta.loadFiles— Read a list of Gamry DTA files.labkit.dta.loadFolder— Read every DTA file below a folder.labkit.dta.detectPulses— Locate cathodic and anodic pulse windows in chrono data.labkit.dta.getColumn— Extract a named column from a parsed DTA table.labkit.dta.getCurveXY— Extract paired X and Y data from a parsed CV/CT curve.labkit.dta.getMainCurve— Select the transient table containing T, Vf, and Im data.labkit.dta.getZCurve— Select the impedance table from parsed EIS data.
Source
This page is generated from the MATLAB help text in +labkit/+dta/findFiles.m.