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 Comments
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/720614-xlswrite-is-not-recommended-what-should-i-use-instead#comment_1271454
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/720614-xlswrite-is-not-recommended-what-should-i-use-instead#comment_1271454
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/720614-xlswrite-is-not-recommended-what-should-i-use-instead#comment_1271464
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/720614-xlswrite-is-not-recommended-what-should-i-use-instead#comment_1271464
Sign in to comment.