Borrar filtros
Borrar filtros

Why I get this error? how can I solve it?

2 visualizaciones (últimos 30 días)
hanif hamden
hanif hamden el 26 de Sept. de 2018
Comentada: hanif hamden el 3 de Oct. de 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;

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 26 de Sept. de 2018
Need your returnindex.m to see the problem. Most likely, it has a output argument called "ind" but was not assigned.
  4 comentarios
Fangjun Jiang
Fangjun Jiang el 27 de Sept. de 2018
in returnindex.m, based on the condition, "ind" could never be evaluated.
hanif hamden
hanif hamden el 3 de Oct. de 2018
Yes. it is due to arrangement of the data. I found the solution. Thanks btw

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Debugging and Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by