How can I use strsplit, or something similar, in version 2012a?
Afficher commentaires plus anciens
Is there a way to update my version of Matlab? I am using the student version 2012a which has been working fine up until I need to use strsplit. Alternately is there a way to do something similar in an older version?
Réponses (1)
Azzi Abdelmalek
le 15 Juin 2016
Modifié(e) : Azzi Abdelmalek
le 15 Juin 2016
a='abc def ghi'
b=regexp(a,'\s+','split')
Or
b=regexp(a,'\S+','match')
1 commentaire
Catégories
En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!