How to name the sheet in excel using MATLAB

조회 수: 55 (최근 30일)
MakM
MakM 2022년 3월 31일
편집: Arif Hoq 2022년 3월 31일
I am writing table to excel sheet, is there any way I can name the excel sheet no. Like instead of sheet 1 or sheet 2 I want to name it a and b.
writetable([Table{1,j}], 'test.xlsx','Sheet', j, 'Range', 'A1')

채택된 답변

Arif Hoq
Arif Hoq 2022년 3월 31일
편집: Arif Hoq 2022년 3월 31일
try this:
writetable(T,'test.xlsx','FileType','spreadsheet','Sheet','a')
% T is your output variable

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by