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.
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 (2026). CSV with Headers Import/Export (https://se.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 LinuxCategories
Find more on Spreadsheets in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
