What is the difference between strjoin and join?

11 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)

Categories

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

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!