Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Freezing after calling strcat()

1 vue (au cours des 30 derniers jours)
Disciple of the Forbidden Spell
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaires
Disciple of the Forbidden Spell
That works. But what's wrong with strcat?
Walter Roberson
Walter Roberson le 13 Juil 2019
I do not know. Perhaps it is related to Polyspace, but I do not know.

Réponses (0)

Cette question est clôturée.

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by