What is MATLAB?

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.

What it can hold

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.

It keeps

It cannot express

What it looks like

Example MATLAB
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);

Questions

How do I open MATLAB files?

MATLAB is written by Tablizer rather than read by it. Open the file in whichever tool the format belongs to.

Is MATLAB a good format for sharing data?

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.

Convert something else to MATLAB