Save a data in .xls
2 次查看(过去 30 天)
显示 更早的评论
I need to save a data in .xls spreadsheet but in the end it doesn't keep the same as you can see in photos.
The code used :
filenamewrite10=[filename1,'_timemotion_2',ext]
dlmwrite(filenamewrite10,timemotion1,'delimiter','\t','precision',4);
how can i fix this?
2 个评论
Geoff Hayes
2015-5-10
Sérgio - what happens if you increase the precision scalar from 4 to something larger? What do you observe in the text file after the increase?
采纳的回答
Image Analyst
2015-5-10
Try getting rid of the 'precision' input, or else use xlswrite() instead of dlmwrite().
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!