Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I've written a MATLAB code which generates a 3D array and I want to write that array into an Excel sheet. For example, if the size of my array is 4x24x28 then it should be written in 28 different sheets in Excel.
Is there an elegant way to do this?
xlswrite
sheet
I found out a solution for the above question. The code should look like this:
code
filename_1 = 'Nod_TS.xlsx'; A = Nod_TS(: , : , i) ; xlswrite(filename_1, A , ['ID_',int2str(i)] );
Where, A should be the 2D array.
A
Add a comment
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
xlswritehas an integersheetinput