Why I get this error? how can I solve it?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hanif hamden
am 26 Sep. 2018
Kommentiert: hanif hamden
am 3 Okt. 2018
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 Kommentare
Akzeptierte Antwort
Fangjun Jiang
am 26 Sep. 2018
Need your returnindex.m to see the problem. Most likely, it has a output argument called "ind" but was not assigned.
4 Kommentare
Fangjun Jiang
am 27 Sep. 2018
in returnindex.m, based on the condition, "ind" could never be evaluated.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Debugging and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!