How can I use XLSWRITE command to name a worksheet in a workbook in MATLAB?

3 次查看(过去 30 天)
I am using XLSWRITE command to write multiple matrices to the same excel file in different worksheets. But, I also want to rename the worksheets for better understanding. How can this be done?

采纳的回答

Walter Roberson
Walter Roberson 2018-10-30
You can pass a sheet name as the third parameter to xlswrite.
xlswrite does not offer any method to rename sheets.
  2 个评论
Yasmin Samy
Yasmin Samy 2018-10-30
Yes that`s what I`m currently doing. Saving the workbook with the sheet names i want. Then using xlswrite to fill it up! I think to set it within the code, we would need to use writetable, correct?

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by