Writing multiples values of different data types in excel

조회 수: 1 (최근 30일)
Shivam Pande
Shivam Pande 2018년 3월 25일
편집: Shivam Pande 2018년 3월 26일
Hello.
I wish to create a table shown below using xlswrite command. Is there any way to achieve this using xlswrite only once (or minimum number of times) since it takes a lot of time?

채택된 답변

Image Analyst
Image Analyst 2018년 3월 25일
Yes. You'd have to make up a cell array with all those things in the proper row,column location of the cell array, and then write it once. For example:
ca{1, 3} = 'Classes';
ca{1, 4} = 'W';
% etc.
xlswrite(excelfileName, ca, 'Results', 'A1');

추가 답변 (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