Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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 Comment
Walter Roberson
Walter Roberson on 20 May 2017
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

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!