Freezing after calling strcat()
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
str1 = ["John ","Mary "];
str2 = ["Smith","Jones"];
str = strcat(str1,str2)
The code above is the example code from https://ww2.mathworks.cn/help/matlab/ref/strcat.html
Running this code will cause freezing, as if strcat actually doesn't support strings.
6 Commenti
@Disciple of the Forbidden Spell: what MATLAB version are you using? Please show the output of this command:
which strcat -all
Walter Roberson
il 12 Lug 2019
Just to check: what shows up for
which strcat(str1,str2)
Disciple of the Forbidden Spell
il 12 Lug 2019
Walter Roberson
il 12 Lug 2019
str = str1 + str2;
Disciple of the Forbidden Spell
il 13 Lug 2019
Walter Roberson
il 13 Lug 2019
I do not know. Perhaps it is related to Polyspace, but I do not know.
Risposte (0)
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!