Skip to content

arraytotext

Convert an array to a text representation.

v = arraytotext(array, format)

Returns a text representation of array. With format = 0 (default), produces a concise format suitable for display. With format = 1, produces a strict format with quoted strings and escaped delimiters (round-trippable).

arraytotext([1 2; 3 4])
  • text — Format a number as text using an Excel-style format.
  • value — Convert a text string to a number.