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에서 Text Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!