Filter löschen
Filter löschen

How do I write excel sheetnames in 2019a?

3 Ansichten (letzte 30 Tage)
george hargenrader
george hargenrader am 2 Mai 2020
Kommentiert: Steven Lord am 2 Mai 2020
The command "sheetnames" was implemented in 2019b. I have 2019a. How do I write the sheetnames of an excel file?
The documentation on the website is great for the most current version of MATLAB. It would be nice if there was a link to the legacy method for those with older versions.
  2 Kommentare
Tommy
Tommy am 2 Mai 2020
Apologies, I must have misread the question at first, although as far as I can tell, sheetnames doesn't let you write sheet names...
You can always specify the name of the sheet when writing to Excel with either xlswrite or writetable / writematrix / writecell / etc... For example
xlswrite(filename, data, 'sheet name')
or
writetable(T, filename, 'Sheet', 'sheet name')
If you want to change the names of existing sheets, and you're on Windows, maybe this will help?
Steven Lord
Steven Lord am 2 Mai 2020
FYI at the top of the right frame on the main documentation page is a link to "Other Releases". That allows you to access documentation from the last several releases (back to release R2013a at this time.)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte


Version

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by