xlwrite: Generate XLS(X) files without Excel on Mac/Linux/Win

Generates ‘.xls’ & '.xlsx' files on Mac/Linux/Win without Excel, using same syntax as xlswrite.

Download
Download

You are now following this Submission

Cite As

Alec de Zegher (2026). xlwrite: Generate XLS(X) files without Excel on Mac/Linux/Win (https://www.mathworks.com/matlabcentral/fileexchange/38591-xlwrite-generate-xls-x-files-without-excel-on-mac-linux-win), 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.9.0

20130227 - Fixed bug when no sheet number given & added Stax to java load. Thanks to Thierry

Download
1.8.0

20130125 - Fixed bug & documentation. Incorrect working of NaN. Thanks Klaus

Download
1.7.0

Fixed bug: use existing cell if present, instead of overwriting. This way original XLS formatting is kept & not overwritten.

Download
1.6.0

Bugfix: if a numeric sheet was given & didn't exist an error was returned instead of creating the sheet. Thanks to Marianna

Download
1.5.0

Fixed bug: use existing rows if present, instead of overwrite rows by default. Thanks to Dan & Jason.

Download
1.2.0

Fixed bug: use existing rows if present, instead of overwrite rows by default. Thanks to Jason.

Download
1.1.0

The new version of xlwrite uses the Apache POI library, instead of JExcelApi. The Apache POI library has some advantages over JExcelApi library:
- It can create XLSX files
- xlsread supports xls files generated by POI lib.

Download
1.0.0

Download