Save a data in .xls
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sérgio Querido
le 10 Mai 2015
Modifié(e) : Sérgio Querido
le 10 Mai 2015
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 commentaires
Geoff Hayes
le 10 Mai 2015
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?
Réponse acceptée
Image Analyst
le 10 Mai 2015
Try getting rid of the 'precision' input, or else use xlswrite() instead of dlmwrite().
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Text Files dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!