This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Concatenate the strings in a table

MuPAD® notebooks are not recommended. 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.




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.


Example 1

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

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



A table of character strings

Return Values

Character string.

See Also

MuPAD Functions

Was this topic helpful?