how can i print output from table to word or excel?
25 次查看(过去 30 天)
显示 更早的评论
first of all thank u for your time and sorry for asking too many questions....for example i have this table ...is it possible to export this table to word or excel so that i dont have to write them one by one and this table is really big...i know there is a function for this i tried that but nothing happend
T1=table(v',i',tv',ti',Z',tz','VariableNames',{'V','I','thetav','thetai','Z','thetaz'});
0 个评论
采纳的回答
Karan Kannoujiya
2022-6-25
Hi arian,
You want to write the table data to excel or word-->
You can use below command to write the table data into excel
writetable(tableName, location , 'Sheet', 1);
'tableName' is the name of the table
'location' is where you wanted to save the excel sheet....suppose your excel sheet file name is 'excelData' and you wanted to save on desktop then location should be -->
location = 'Desktop/excelData';
I hope it helps
5 个评论
Karan Kannoujiya
2022-6-25
write full location of the file for e,g
location = 'C:\Users\karan\Desktop\myData.xls'
that will work
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!