Undefined function 'times' for input arguments of type 'matlab.ui.control.NumericEditField'.
15 ビュー (過去 30 日間)
古いコメントを表示
I am new here I always get these type of UI errors no matter what I do.
I can't seem to do even simple calculations through app. I followed some Youtube tutorials line by line exactly the same for practice, it runs for them but I still get these 'matlab.ui.control.NumericEditField' errors always.
Below given are the simple coding example:
Mass =app.MassKgEditField.Value;
Acc= app.Accms2EditField;
Force = Mass.*Acc;
app.ForceEditField.Value = Force;
0 件のコメント
採用された回答
Steven Lord
2021 年 11 月 1 日
As I answered on your other post, you cannot perform arithmetic on an object handle. You will need to perform arithmetic on the Value property of that handle.
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!