export matlab data to excell

A simple function to export data to excel. The function writes a CSF text file.
2.7K Downloads
Updated 15 Jun 2009

View License

Many people don't know how to export matlab data into excel. I wrote a simple function as an illustration to help them.

A comma separated simple function, that illustrates how to export data into excel sheet.

Very simple, give the data to the function as a string. This string has to be comma separated. It will write a comman separated file (CSF) that excell can understand.

Please don't send me emails with questions because i don't have time to reply. Try to find the answer online. This function is very simple and don't need questions to be asked.

Note: When you open the csv file with excell, your country setting must not be Germany, due to comma use as a digit separator. Recommended to set to USA-English

Cite As

Sherif Omran (2024). export matlab data to excell (https://www.mathworks.com/matlabcentral/fileexchange/24382-export-matlab-data-to-excell), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
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!
Version Published Release Notes
1.1.0.0

Added a hint: Country setting should be English-USA when you open the CSV file

1.0.0.0