Creating a Function to Save a Table to a CSV if its Too Big for Excel
(Originally posted on Stuart's MATLAB Videos Blog)
I often save tables to Excel for sharing with others, but if the data is too large, I need to share to a CSV file instead. Here I build a function to do that. Features covered in this code-along style video include:
writetable
regexprep
Note, at @18:13 I think I’m looking at the Excel file and don’t understand the first sheet name, but I’m actually looking at the CSV file and the sheet name defaults to the filename. You can ignore my floundering for the remaining 5 min of the video if you like.
Recorded: 5 Jan 2017