I have a cell array that has both characters and numbers as values. What is the simplest way to output it in a csv file, row by row, maintaining the structure of the cell array? For example, if the cell array is
[abc] [1] [131]
[def] [] []
[gh] [13] [999]
I want the file to look like
abc,1,131
def,,
gh,13,999