|
|
| File Information |
| Description |
Creates new Excel file (or opens it if file exists) and name the sheets as listed in (sheetnames) and saves the workbook as (filename).
xlsheets(sheetnames,filename)
xlsheets(sheetnames)
sheetnames: List of sheet names (cell array).
filename: Name of excel file.
NOTE: Follow the following rules when naming your sheets:
1- Make sure the name you entered does not exceed 31 characters.
2- Make sure the name does not contain any of the following characters:
: \ / ? * [ or ]
3- Make sure you did not leave the name blank.
4- Make sure each sheet name is a character string.
5- Make sure you do not have two sheets or more with the same name.
Example:
sheetnames = {'Mama','Papa','Son','Daughter','Dog'};
filename = 'family.xls';
xlsheets(sheetnames,filename);
xlsheets(sheetnames); |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
xlswrite
This submission has inspired the following:
Example of how to save or read data to an Excel archive.
|
| MATLAB release |
MATLAB 6.5 (R13)
|
| Other requirements |
Microsoft Excel |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (10) |
| 14 Feb 2004 |
Rashid Al mannai
|
|
|
| 29 Apr 2004 |
Udya Desai
|
|
|
| 03 May 2004 |
Gourihar Kulkarni
|
|
|
| 30 Sep 2004 |
avi pinsker
|
|
|
| 17 Mar 2006 |
bean bean
|
|
|
| 16 Apr 2007 |
Exo Sceleton
|
|
|
| 24 Sep 2008 |
Andrew Wilson
|
|
|
| 09 Oct 2009 |
Tina Tseng
|
|
|
| 28 Jun 2010 |
Andrew Wilson
|
|
|
| 14 Jul 2011 |
Andrew Wilson
|
|
|
| Updates |
| 17 Feb 2004 |
Open exisiting file feature added |
| 17 Feb 2004 |
Open exisiting file feature added |
| 17 Feb 2004 |
Important Note Added to (help) in addition to more descriptive (in-program) documentation. |
| 27 Feb 2004 |
Fixed [Group] problem + Making process invisible |
| 01 Mar 2004 |
Fixed "replacing existing sheets" problem |
| 16 Mar 2004 |
Fixed (filename) problem |
| 05 Apr 2004 |
Fixed (Naming to an existing sheetnames + Opening Multiple Excel programs) Problems |
| 17 May 2004 |
Added more help about the rules of naming Excel sheets |
| 01 Oct 2004 |
Supporting Full or Partial Path |
|
Contact us at files@mathworks.com