read spreadsheet, delete some variables, and save the spreadsheet
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Ameer Hamza
2020 年 6 月 11 日
編集済み: Ameer Hamza
2020 年 6 月 11 日
Something like this
t = readtable('test.csv');
t.number_of_deadlines = [];
writetable(t, 'test2.csv')
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!