Excel Write Format

Version 1.0.0.0 (22 KB) by Tom
Write data to Excel through MATLAB and format the spreadsheet.
1.2K Downloads
Updated 27 Jun 2013

View License

Note: this uses a COM interface and so is for Windows only.

This function lets you export multiple sets of data to spreadsheets and apply formatting.
The program is suited to formatting the font (size, name, etc.), changing the cell interior (colour, pattern) , cell range (column width, text alignment) and borders (line style, weight, colour), as some processing/ checks are performed before these are applied. However, formatting can be applied to other fields of the Range interface.

The properties are defined using a structure based on the COM interface. Hopefully this is fairly straightforward, and there is a function to display the options for the interfaces as well as an example covering a wide range of formatting options.

Cite As

Tom (2024). Excel Write Format (https://www.mathworks.com/matlabcentral/fileexchange/42385-excel-write-format), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
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.0.0.0