Read .CSV File Created with Tektronix TDS2000
DATA = READ_TEKTRONIX_CSV(FILENAME) returns a struct as DATA with all parameters read from the file with FILENAME. Each parameter read from the file becomes a field in the struct, with the time and samples vectors stored as TIME and VALUES.
TIME and VALUES are converted and stored as double with STR2DOUBLE.
Setup parameters are converted to double if possible. If STR2DOUBLE returns NAN for a particular parameter, its value is stored as a string.
 
Example usage:
    data = read_tektronix_csv('F0000CH1.CSV');
    plot(data.time, data.values)
    xlabel(data.Horizontal_Units)
    ylabel(data.Vertical_Units)
    title(data.Source)
    
Discover additional parameters with: fieldnames(data) or disp(data)
 
Notes: Spaces in setup parameters are replaced with underscores to form valid struct fieldnames.
       Multi-channel captures are stored/read from separate files.
Tested with a TDS2000 series Oscilloscope.
Cita come
Wynand (2025). Read .CSV File Created with Tektronix TDS2000 (https://it.mathworks.com/matlabcentral/fileexchange/44606-read-csv-file-created-with-tektronix-tds2000), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Test and Measurement > Instrument Control Toolbox > Instrument Control Toolbox Supported Hardware > Oscilloscopes >
Tag
Riconoscimenti
Ispirato: .csv read and plot
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 | 
