error message: Undefined function 'sum' for input arguments of type 'struct'.

hi, how can i fix this error please Undefined function 'sum' for input arguments of type 'struct'.
Error in Pop_Init (line 18) SQC1=sum(MatBin1,1);

1 comentario

Stephen23
Stephen23 el 24 de Mayo de 2016
Editada: Stephen23 el 24 de Mayo de 2016
Solution: don't provide a structure as the input to sum. Pass it a numeric array instead.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Preguntada:

el 24 de Mayo de 2016

Editada:

el 24 de Mayo de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by