array operations in app designer
1 view (last 30 days)
Show older comments
Dominik Gajdos
on 14 Apr 2024
Commented: Dominik Gajdos
on 14 Apr 2024
I have this simple operation
Both arrays are 1x6, but still got error
Arrays have incompatible sizes for this operation.
app.delta1 = sum(abs(app.uhly_array - app.theta1));
0 Comments
Accepted Answer
Fangjun Jiang
on 14 Apr 2024
Edited: Fangjun Jiang
on 14 Apr 2024
Need to specify the .Value property? If not, just pause the code and check its value, app.uhly_array and app.theta1
app.delta1.Value = sum(abs(app.uhly_array.Value - app.theta1.Value))
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!