string array to excel

39 ビュー (過去 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 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by