What is the difference between strjoin and join?

11 visualizzazioni (ultimi 30 giorni)
The Documentation says "The join function is recommended to join elements of a string array."
Why is this?

Risposta accettata

Star Strider
Star Strider il 20 Mar 2022
The join function (introduced in R2016b) is primarily intended for use with the string data type, introduced at the same time. The strjoin function (introduced in R2013a) is primarily intended for character arrays.

Più risposte (0)

Categorie

Scopri di più su Characters and Strings in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by