xlswrite is not recommended, what should I use instead?
4 ビュー (過去 30 日間)
古いコメントを表示
I have eleven 12x8 matrices composed of 1s and 0s. I want to export each matrix into its own excel file as a table with the rows labeled with times and the columns labeled with weekdays. I want to use an efficient code and possibly a loop to prevent typing over and over again. Each Matrix is saved as as a variable, like 'A53'. Of the eleven matrices, ten are have consecutive counting titles, like 'A51', 'A52', 'A53'...'A60'. Is it possible to use a loop to load these into separate excel sheets, as described above?
2 件のコメント
回答 (1 件)
Star Strider
2021 年 1 月 19 日
Since you have R2020a, first, create a table using your data, then use writetable to write it to an Excel file (or other options).
8 件のコメント
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!