How can I convert strings in cell array into array?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ARJUN REDDY
le 10 Juil 2019
Modifié(e) : Shubham Sangle
le 10 Juil 2019
I am not able to convert strings in cell array into array
0 commentaires
Réponse acceptée
Shubham Sangle
le 10 Juil 2019
Modifié(e) : Shubham Sangle
le 10 Juil 2019
strcat() has the property that it trims out leading and trailing blanks from parameters that are character vectors. It does not do that for cell array of character vectors.
Similar question with accepted answer is available https://in.mathworks.com/matlabcentral/answers/470768-converting-strings-in-cell-array-into-array
For more details you can visit documentation of strcat here
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Characters and Strings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!