Why I get this error? how can I solve it?
조회 수: 1 (최근 30일)
이전 댓글 표시
Error in returnindex (line 2) n=length(X);
Output argument "ind" (and maybe others) not assigned during call to "returnindex".
Error in BinData (line 28) Y(i,1)=returnindex(X(i),Value)-1;
댓글 수: 0
채택된 답변
Fangjun Jiang
2018년 9월 26일
Need your returnindex.m to see the problem. Most likely, it has a output argument called "ind" but was not assigned.
댓글 수: 4
Fangjun Jiang
2018년 9월 27일
in returnindex.m, based on the condition, "ind" could never be evaluated.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!