Removing "VarName" row when exporting table to csv
6 views (last 30 days)
Show older comments
I'm trying to export a table to csv, and no matter what I do row 1 always ends up being VarName1, VarName2, etc.
Is it possible to not have this row?
2 Comments
Accepted Answer
Ameer Hamza
on 29 May 2018
Use the following option to disable the variable names in the first row
writetable(table, 'test.csv', 'WriteVariableNames', 0)
More Answers (0)
See Also
Categories
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!