Click here to Skip to main content
15,891,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there,i'm newbie here.I have problem to save my variables data in MATLAB to 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.
Posted
Updated 11-Jul-15 18:12pm
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900