Save variable data without overwrite in excel
4 views (last 30 days)
Show older comments
Hi there,i'm newbie here.I have problem to save my variables data in excel where the new data overwrite the existing data.The new data should be added to existing data and not overwrite.Here is my code:
T = table(k,l,m,n,o);%k,l,m,n,n,o is the variables
filename = 'filename.xlsx';
writetable(T,filename,'Sheet',1,'Range','A1');
Thanks guys.
0 Comments
Answers (1)
Abhishek Pandey
on 17 Jul 2015
Hello Muhamad,
You can check out this link. I believe a similar question has been answered here.
Thanks,
Abhishek
See Also
Categories
Find more on Data Import from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!