HOW TO DELETE A LINE FROM A CREATING FILE
Afficher commentaires plus anciens
Hello, I have a question. I am creating a .csv file in MATLAB using the commands:
T = cell2table
writetable(T,'file.csv')
. I would like to delete from this file the 2nd row only, and keeping all the other rows. How could I make it?
Thanks
Réponse acceptée
Plus de réponses (1)
Sindar
le 23 Jan 2020
T = cell2table;
writetable(T([1 3:end],:),'file.csv')
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!