You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Simple command to convert a CSV file (using csvexport.m) into a cell array, easily accessible to matlab. No extensions, no java, no fuss. Purely fopen, fread, fclose. Pretty basic, does not position the array into a specific location/range. Obviously no sheet option because it is not an excel file. I will be happy to add range functionality if there is a strong demand, but it is relatively straight-forward to read and append file (see csvexport.m)
Cite As
Pratik Chhatbar (2026). csvimport(filename) (https://www.mathworks.com/matlabcentral/fileexchange/48561-csvimport-filename), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: xlwrite : Export Data to Excel from Matlab on Mac/Win, xlwrite: Generate XLS(X) files without Excel on Mac/Linux/Win
General Information
- Version 1.0.0.0 (790 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
