export matlab data to excell

A simple function to export data to excel. The function writes a CSF text file.

You are now following this Submission

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 (2026). export matlab data to excell (https://www.mathworks.com/matlabcentral/fileexchange/24382-export-matlab-data-to-excell), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

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

1.0.0.0