read spreadsheet, delete some variables, and save the spreadsheet
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
alpedhuez
el 11 de Jun. de 2020
Comentada: alpedhuez
el 11 de Jun. de 2020
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.
0 comentarios
Respuesta aceptada
Ameer Hamza
el 11 de Jun. de 2020
Editada: Ameer Hamza
el 11 de Jun. de 2020
Something like this
t = readtable('test.csv');
t.number_of_deadlines = [];
writetable(t, 'test2.csv')
Más respuestas (1)
Ver también
Categorías
Más información sobre Spreadsheets en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!