how to I compare strcmp and find cell array
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I want to pass the info from gender label in videonames_dev {i} to genderlabels_dev (i) with strcmp but it gives an error
1 comentario
Jan
el 17 de Dic. de 2017
Please post the complete error message. This is just the part, which mentions where the problem occurs, but it is useful to see, what the problem is also.
Prefer to post text by copy&paste, not as screenshot. With having text, the members of the forum can use it by copy&paste also and do not need to type your code again for posting an answer.
Respuestas (1)
Jan
el 17 de Dic. de 2017
You did not show the full error message yet, but most likely the 2nd input genderannoall is neither a cell string or char vector. I assume, that the error message tells this already. Then use the debugger to check, what this variable is.
0 comentarios
Ver también
Categorías
Más información sobre Matrix Indexing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!