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 件のコメント

Stephen23
Stephen23 2016 年 5 月 24 日
編集済み: Stephen23 2016 年 5 月 24 日
Solution: don't provide a structure as the input to sum. Pass it a numeric array instead.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStructures についてさらに検索

質問済み:

2016 年 5 月 24 日

編集済み:

2016 年 5 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by