CSV with Headers Import/Export

version 1.0.1 (2.16 KB) by theblueeyeswhitedragon
Performs conversions csv to mat, and mat to csv. Works for csv files with and without header information.


Updated 10 Aug 2018

View License

The main function takes no parameters and prompts the user to select the type of csv file operation to be performed.

ImportCSV - Prompts the user to select a csv file in current folder. It imports its header and data information and saves it in a .mat file

ExportCSV - Prompts the user to select a .mat file in current folder. It uses the header and data inputs to create a csv file in your current folder

Cite As

theblueeyeswhitedragon (2022). CSV with Headers Import/Export (https://www.mathworks.com/matlabcentral/fileexchange/68459-csv-with-headers-import-export), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!