How can I write a table to .csv file
639 views (last 30 days)
Show older comments
Dion Theunissen on 21 May 2021
How can i write a table to an .csv file and save it?
EmirBeg on 21 May 2021
writetable(x,'table.csv'); % x is the name of your table, the csv will be saved where your code is saved
More Answers (1)
Mathieu NOE on 21 May 2021
for numerical data you can use writematrix - see example below
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!