can any one help me on this how to convert this text file into excel sheet..
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
surya pramod Jalakam
le 20 Juil 2020
Commenté : Star Strider
le 22 Juil 2020
this is my text file
0 commentaires
Réponse acceptée
Star Strider
le 20 Juil 2020
Try this:
T = readtable('RD-120101-031900.txt', 'PreserveVariableNames',1);
FirstFiveRows = T(1:5,:); % Sample Input Result
writetable(T, 'RD-120101-031900.xlsx'); % Write Excel File
T2 = readtable('RD-120101-031900.xlsx', 'PreserveVariableNames',1); % Read Excel File
FirstFiveRows2 = T2(1:5,:); % Sample Input Result
See the documentation for the various functions for details on their use.
.
6 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Spreadsheets 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!