string array to excel

조회 수: 20(최근 30일)
TheDice
TheDice 2021년 4월 26일
댓글: Stephen23 2021년 4월 27일
Hello I have an 8x14 string array and would like to export it as an Excel file. Is there a command to do this?
Many greetings
Fabian

채택된 답변

Scott MacKenzie
Scott MacKenzie 2021년 4월 26일
Am I missing something, or is this as simple as it seems:
s = repmat(["a" "bcd"], 8, 7); % 8x14 string matrix
writematrix(s, 'temp.xlsx');
  댓글 수: 1
TheDice
TheDice 2021년 4월 27일
No it is as simple as it seems. I have tried many other commands but i have not found this one. Thanks for this.

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by