Effacer les filtres
Effacer les filtres

Trouble finding text in cellarrays that are class "cell"

1 vue (au cours des 30 derniers jours)
EagleNeuro
EagleNeuro le 14 Juin 2017
Commenté : EagleNeuro le 15 Juin 2017
I have lists of text in a cell array. If I type class(cellarray(1)) the output is 'cell'. I'm trying to find specific text in this array and am having to use long cellfun code to do so. char(cellarray), cellstr(cellarray) and strcmp(cellarray), don't work (Error is "Cell elements must be character arrays.".
Thanks!

Réponse acceptée

Stephen23
Stephen23 le 14 Juin 2017
Modifié(e) : Stephen23 le 14 Juin 2017

Plus de réponses (1)

Catégories

En savoir plus sur Cell Arrays 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!

Translated by