Freezing after calling strcat()
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
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
@Disciple of the Forbidden Spell: what MATLAB version are you using? Please show the output of this command:
which strcat -all
Walter Roberson
2019년 7월 12일
Just to check: what shows up for
which strcat(str1,str2)
Disciple of the Forbidden Spell
2019년 7월 12일
Walter Roberson
2019년 7월 12일
str = str1 + str2;
Disciple of the Forbidden Spell
2019년 7월 13일
Walter Roberson
2019년 7월 13일
I do not know. Perhaps it is related to Polyspace, but I do not know.
답변 (0개)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!