how to I compare strcmp and find cell array

조회 수: 12 (최근 30일)
Kübra Utman
Kübra Utman 2017년 12월 17일
답변: Jan 2017년 12월 17일
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
Jan
Jan 2017년 12월 17일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2017년 12월 17일
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.

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by