You cannot use dlmwrite or csvwrite to write tables. You would have to convert the table to a matrix (using table2array). Even then, dlmwrite and csvwrite can only write matrices of numbers and your table contain text, so they're completely out of the equation.
The normal way to write a table to a csv file is to use writetable. Unfortunately, there's no append option. So, in the end, you can either:
- write the tables to different ranges of an excel spreadsheet (with writetable). However, if the merged table uses too much memory in matlab, it's likely that it'll be the same for excel.
- write the tables to individual files (with writetable), and merge all these file together afterward.
- use low level functions ( fopen, sprintf, etc.) to write your tables.