Trouble finding text in cellarrays that are class "cell"

2 次查看(过去 30 天)
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!

采纳的回答

Stephen23
Stephen23 2017-6-14
编辑:Stephen23 2017-6-14

更多回答(1 个)

类别

Help CenterFile Exchange 中查找有关 Cell Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by