CSV reader

Version 1.2.0.0 (3.6 KB) by timo
This class can be used to read a csv file into RAM or save a csv file from RAM to disk
259 Downloads
Updated 8 Jan 2013

View License

This class can be used to read a csv file into RAM or save a csv file from RAM to disk

Example Usage for CSV file that have a signal column named 'recFilename' with at least one element:

csv = csvClass();
csv.openCSV();
csv.getNrSignals();
csv.getSignals();
a=csv.getSignalValue('recFilename');
csv.deletSig('recFilename');
csv.saveCsv('C:\','file2.csv');%works only for non cell CSV file.

Cite As

timo (2024). CSV reader (https://www.mathworks.com/matlabcentral/fileexchange/39683-csv-reader), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Import and Analysis in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

-fix deleteSig

1.1.0.0

-bug fixing
-now it can be saved a csv of doubles or of csv of strings/doubles.

1.0.0.0