What is the difference between strjoin and join?

9 views (last 30 days)
The Documentation says "The join function is recommended to join elements of a string array."
Why is this?

Accepted Answer

Star Strider
Star Strider on 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.

More Answers (0)


Find more on Characters and Strings in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!