MATLAB cell arrays combined into a table with the table() function.
Who uses it
Engineering and research code.
Writing MATLAB
One cell array per column, then a single table() call. Column names are sanitised to valid variable names.
MATLAB cell arrays combined into a table with the table() function.
Engineering and research code.
One cell array per column, then a single table() call. Column names are sanitised to valid variable names.
MATLAB is source code. A table needs valid variable names for its columns, so names are adjusted rather than kept verbatim. A machine can read the table back out of it without guessing, which is what makes it safe to convert into and out of.
id = {'007'; '012'; '104'}';
name = {'Halima Yusuf'; 'Jonah "Jo" Pryce'; 'Wei Chen'}';
role = {'Analyst, data'; 'Engineer'; 'Manager'}';
started = {'2024-03-15'; '2025-11-02'; '2023-06-30'}';
hours = {'38.5'; ''; '40'}';
staff = table(id, name, role, started, hours);MATLAB is written by Tablizer rather than read by it. Open the file in whichever tool the format belongs to.
It depends who is receiving it. Engineering and research code. If the recipient is outside that group, a plain CSV travels further than anything else.