how do i rename or remove a sheet from an excel spreadsheet using matlab

17 次查看(过去 30 天)
When using Matlab "writetable" or "xlswrite" function to create a new Excel file, I always get three worksheets created by default.
I want to delete two unwanted worksheets, and rename the third. Or, I want to be able to set Matlab defaults to only create one worksheet, that I can then rename.
I have Excel installed (MicroSoft Office 365 ProPlus) and configured to create new workbooks with only one sheet.

回答(1 个)

xi
xi 2017-5-1
https://www.mathworks.com/matlabcentral/answers/215703-changing-the-name-of-the-sheet-in-excel

产品

Community Treasure Hunt

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

Start Hunting!

Translated by