Clear Filters
Clear Filters

Trouble finding text in cellarrays that are class "cell"

1 view (last 30 days)
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!

Accepted Answer

Stephen23
Stephen23 on 14 Jun 2017
Edited: Stephen23 on 14 Jun 2017

More Answers (1)

Categories

Find more on Cell Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!