MATLAB: Adding Data Already Existing Excel Sheets

adding datadata import excel

Hi,
I created an excel file nade "DATA". There are seven different sheets in it and the firs one is "PAGE1". My code gives numerical data at the end. I want put this data into a spesific row and colomn in the already excisting "DATA" file "PAGE1" sheet. How can I do that?

Best Answer

Try writematrix
writematrix(M,'Sample.xlsx','Sheet',1,'Range','D3:D6')