transform the cell 'string' containing strings into a single string
Afficher commentaires plus anciens
Hi! I need to transform the cell 'string' containing strings into a single string, like this:
string_new = "54 55 56 57 59 60 61 62 63 69 ";
Réponse acceptée
Plus de réponses (1)
load string.mat
who
string
string_new = join(horzcat(string{:}))
Probably not a good idea to have a variable named string, which is conflicting with string
Catégories
En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!