Borrar filtros
Borrar filtros

Trouble finding text in cellarrays that are class "cell"

1 visualización (últimos 30 días)
EagleNeuro
EagleNeuro el 14 de Jun. de 2017
Comentada: EagleNeuro el 15 de Jun. de 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!

Respuesta aceptada

Stephen23
Stephen23 el 14 de Jun. de 2017
Editada: Stephen23 el 14 de Jun. de 2017

Más respuestas (1)

Categorías

Más información sobre Cell Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by