how to I compare strcmp and find cell array

14 views (last 30 days)
Kübra Utman
Kübra Utman on 17 Dec 2017
Answered: Jan on 17 Dec 2017
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
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.

Sign in to comment.

Answers (1)

Jan
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.

Community Treasure Hunt

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

Start Hunting!