csv2struct(filename​)

reads Excel's files stored in .csv or .xls file formats and stores results as a struct

Download
Download

You are now following this Submission

Cite As

Jaroslaw Tuszynski (2026). csv2struct(filename) (https://www.mathworks.com/matlabcentral/fileexchange/26106-csv2struct-filename), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Struct array conversion

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0

Updated syntax and removed no longer needed code for reading CSV files with more than 2^16 rows. Excel no longer has that limitation.

Download