필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Increment a variable every time a push button is pressed:

조회 수: 1 (최근 30일)
Mohammad Ayoub
Mohammad Ayoub 2017년 12월 2일
마감: Walter Roberson 2017년 12월 2일
Greetings.
If I want to create a simple GUI which contains only one push button, and each time I press this push button I want a variable x to be increased by 1, how can I do that in MATLAB? I have worked with simple GUIs but I am not that professional. (Please note that I want the variable x to increase, not a display in the interface itself.)
Thanks in advance.
Regards.
  댓글 수: 1
Walter Roberson
Walter Roberson 2017년 12월 2일
Duplicates https://www.mathworks.com/matlabcentral/answers/370623-increment-a-variable-every-time-a-push-button-is-pressed

답변 (0개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by