Conversion¶
Type, format, and representation conversions — numbers to strings, structs to name-value cells, tables ↔ CSV.
When to use which¶
Task |
Use |
|---|---|
Format double as an exponential string (for axis labels) |
|
Format double as a fraction |
|
Format double as a multiple of π |
|
Generic value → string |
|
Convert a numeric array to a cell of strings |
|
Struct → |
|
Struct → |
|
Struct → literal MATLAB code text |
|
MATLAB table ↔ CSV |
|