4.25

4.2 | 4 ratings Rate this file 21 Downloads (last 30 days) File Size: 4.77 KB File ID: #18459

MATLAB read/write/control Excel

by George Thiers

 

24 Jan 2008 (Updated 25 Jan 2008)

What XLSREAD and XLSWRITE do under the hood

| Watch this File

File Information
Description

On a Windows platform, MATLAB's XLSREAD and XLSWRITE open Excel as a COM automation server in the background to read/write data. Sometimes users want XLSREAD and XLSWRITE to do more, and would like their own custom XLSREAD or XLSWRITE functions (such as a custom XLSWRITE that puts data into multiple worksheets, and creates Excel charts at the same time).

Little new functionality is contained in this submission compared to what is already contained in Brett Shoelson's submission referenced below. Whereas Brett Shoelson's "Write2Excel.m" is a cleanly packaged solution, this is an open script intended to show what's going on, to empower users to create their own enhanced XLSREAD and XLSWRITE.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
write2excel

MATLAB release MATLAB 7.4 (R2007a)
Other requirements Windows only
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
02 Apr 2008 Jaspal Singh Chhokra  
05 Aug 2008 Curtis Egan

This is a very nice tool, for interface to Excel. This should be very useful in the future to read and or write files from Excel and then plot this information.
It is much easier for me to document in excel than in Matlab.

08 Sep 2008 bilel haithem

i want to execute a code matlab in excel

10 Sep 2008 rudolf kharpuri  
02 Jul 2010 Olivier Planchon

This is more a tuto than a library or software.
Still, this just was what I needed to get the keys of easy communication with Excel

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
external interface George Thiers 22 Oct 2008 09:44:47
xlsread xlswrite microsoft excel powerpoint com automation api George Thiers 22 Oct 2008 09:44:47

Contact us at files@mathworks.com