Filter löschen
Filter löschen

Trouble finding text in cellarrays that are class "cell"

1 Ansicht (letzte 30 Tage)
EagleNeuro
EagleNeuro am 14 Jun. 2017
Kommentiert: EagleNeuro am 15 Jun. 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!

Akzeptierte Antwort

Stephen23
Stephen23 am 14 Jun. 2017
Bearbeitet: Stephen23 am 14 Jun. 2017

Weitere Antworten (1)

Kategorien

Mehr zu Cell Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by