What is the previous syntax for this function?

3 Ansichten (letzte 30 Tage)
L'O.G.
L'O.G. am 19 Apr. 2023
Beantwortet: Les Beckham am 19 Apr. 2023
I can combine strings using something like
str = append("Hello","world")
But I have access only to Matlab 2018a. The append function wasn't introduced until r2019a. What would be the equivalent syntax in this previous version?

Akzeptierte Antwort

Les Beckham
Les Beckham am 19 Apr. 2023
The strcat function has been around for a long time.
strcat("Hello", "World")
ans = "HelloWorld"

Weitere Antworten (0)

Kategorien

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

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by