Undefined function 'times' for input arguments of type 'matlab.ui​.control.N​umericEdit​Field'.

조회 수: 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;

채택된 답변

Steven Lord
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개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by