array operations in app designer
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Fangjun Jiang
2024 年 4 月 14 日
編集済み: Fangjun Jiang
2024 年 4 月 14 日
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))
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!