|
|
| File Information |
| Description |
Uses ActiveX commands to write data_n into range_n in an existing Excel spreadsheet. Inputs (excluding fileloc and promptforsave) must be paired.
As of 10/04 update, you may provide the target range (upper left cell to lower right cell) OR just the upper right cell. If the range is specified, the function will verify that the corresponding data block is the correct size, and give an error if not. (This may be useful for error checking, for instance.) If only the upper left cell is provided, write2excel will now compute the target range.
Additionally, you may now specify cells by address (eg., 'H3') OR row, column (eg, '[3,8]').
SEE ALSO: readfromexcel |
| Acknowledgements |
This submission has inspired the following:
MATLAB read/write/control Excel, MAT2XLS v2.0
|
| MATLAB release |
MATLAB 6.5 (R13)
|
| Other requirements |
Tested under R12.1 and R13.
Requires Windows environment and Microsoft Excel. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (19) |
| 05 Feb 2004 |
Urs Schwarz (us)
|
|
|
| 13 Feb 2004 |
martyn dorey
|
|
|
| 11 Mar 2004 |
Andre Camenzind
|
|
|
| 22 Jun 2004 |
Daniel Camp
|
|
|
| 13 Jul 2004 |
Onur Uncu
|
|
|
| 14 Jul 2004 |
Rohan More
|
|
|
| 09 May 2005 |
AHMET ANIL DINDAR
|
|
|
| 31 Aug 2006 |
kim l
|
|
|
| 31 Jan 2007 |
Alex Ross
|
|
|
| 15 Feb 2007 |
g w
|
|
|
| 16 Apr 2007 |
Mario Trevino Villegas
|
|
|
| 14 Aug 2007 |
LI JING
|
|
|
| 27 Sep 2007 |
Ruoyu Cheng
|
|
|
| 13 Feb 2008 |
R. Pelaez
|
|
|
| 09 Oct 2008 |
mm pp
|
|
|
| 26 Mar 2009 |
Arthur
|
|
|
| 27 Aug 2009 |
Pete sherer
|
|
|
| 11 Nov 2009 |
Julia
|
|
|
| 11 Nov 2009 |
Julia
|
|
|
| Updates |
| 03 Feb 2004 |
Now allows multiple specifications of sheet name (at the suggestion of R. Venkat), and support of relative paths (thanks to Urs Schwarz). Also, incusion of the extension '.xls' is now superfluous. |
| 03 Feb 2004 |
Now allows multiple specifications of sheet name (at the suggestion of R. Venkat), and support of relative paths (thanks to Urs Schwarz). Also, incusion of the extension '.xls' is now superfluous. |
| 05 Oct 2004 |
Now allows "dynamic specification" of cell ranges, and specification of cells by row, column format. (You no longer need to pre-determine the target range; simply provide the address OR row-column index of the upper left corner of the target range. |
| 15 Oct 2004 |
Recently modified version accidentally had changes incorporated into an old version. This version should now work properly. |
|
Contact us at files@mathworks.com