What is the difference between strjoin and join?

15 Ansichten (letzte 30 Tage)
Michael Van de Graaff
Michael Van de Graaff am 20 Mär. 2022
Beantwortet: Star Strider am 20 Mär. 2022
The Documentation says "The join function is recommended to join elements of a string array."
Why is this?

Akzeptierte Antwort

Star Strider
Star Strider am 20 Mär. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by