Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Increment a variable every time a push button is pressed:
1 回表示 (過去 30 日間)
古いコメントを表示
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
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!