how to I compare strcmp and find cell array
14 views (last 30 days)
Show older comments
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 Comment
Jan
on 17 Dec 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.
Answers (1)
Jan
on 17 Dec 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 Comments
See Also
Categories
Find more on Matrix Indexing 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!