read spreadsheet, delete some variables, and save the spreadsheet
Mostra commenti meno recenti
I have a spreadsheet 'test.csv' with the columns
date temperature number_of_deadlines
I read this spreadsheet with readtable, then I want to delete the column of 'number_of_deadlines" and then save the spreadsheet 'test2.csv' with
date temperature
Please advise.
Risposta accettata
Più risposte (1)
madhan ravi
il 11 Giu 2020
T = readtable('test.csv');
writetable(T(:,1:2), 'test2.csv')
1 Commento
alpedhuez
il 11 Giu 2020
Categorie
Scopri di più su Spreadsheets in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!