How to write to an excel sheet in specified columns only.
12 次查看(过去 30 天)
显示 更早的评论
Hi I am using xlswrite(); to write my variable into excel sheet it works perfect but it writes my variable in the first row where as iw ant to write it in my first column and then i have another variable i want to write it in second column. Say for example my first variab is x-axisCordinates i do this xlswrite('testdata',x-axisCordinates) it write all the data in first row where as i wanted it in to be in the first column. Secondly after writing this i have another variable call y-axisCordinates i want to write it in the second column now. Thanks anyways Regards
0 个评论
采纳的回答
Yao Li
2014-5-21
1. xlswrite('testdata',x-axisCordinates') ,"'" to convert to a nx1 array
2. You can specify the range ('C1:C5')
xlswrite(filename,A,range)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!