How to xlswrite cell array with both strings and number?
Ältere Kommentare anzeigen
I have a cell array of the type A={'01:02:03'};
when I use the function: xlswrite('Output',A)
The excel sheet that I get has eliminated the first zero, it is reading the cell as a number and giving me output as '1:02:03'. How do I get the entire string without eliminating 0?
Akzeptierte Antwort
Weitere Antworten (1)
Carl Agnew
am 30 Jul. 2015
0 Stimmen
Change the cell format in excel to "Text".
1 Kommentar
Supreet Hegde
am 31 Jul. 2015
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!