how to change size of a string?
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Zeynab Mousavikhamene
le 12 Oct 2019
Réponse apportée : Stephan
le 12 Oct 2019
I use regexp(struct(jjj).name,'\_','split'); command to split this structure: K10_5. After being split: {'K10'} I convert it to ordinary array using cell2mat: 'K10'
I realized that 'K10' size is 1*3. How can I make it to be 1*1 not 1*3?
0 commentaires
Réponse acceptée
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!