tbl2text

Concatenate the strings in a table

MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

Syntax

tbl2text(strtab)

Description

tbl2text concatenates all entries of a table of character strings.

The table must be indexed by 1, 2, 3 etc. All entries must be character strings. They are concatenated in the order of their indices.

tbl2text restores strings split by text2tbl.

Examples

Example 1

A character string can be created from an arbitrary number of table entries:

tbl2text(table(1 = "Hell", 2 = "o", 3 = " ", 4 = "world."))

Parameters

strtab

A table of character strings

Return Values

Character string.

See Also

MuPAD Functions