Info

此问题已关闭。 请重新打开它进行编辑或回答。

Undefined operator '+' for input arguments of type 'struct'.

1 次查看(过去 30 天)
Hi, I have been trying to run a script and got the error:
Undefined operator '+' for input arguments of type 'struct'.  
Error in coarsegrain (line 41)   sum = sum + y(scale*i + j);  
Error in mse (line 35)   scaled = coarsegrain(method,y,scale);
Displayed in the work space:   maxScale=3,
val 3x1280 double,
x 1x1 struct.
  1 个评论
Walter Roberson
Walter Roberson 2017-5-20
Duplicates https://www.mathworks.com/matlabcentral/answers/341103-hi-i-have-been-trying-to-run-a-script-and-got-the-error-undefined-operator-for-input-arguments

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by