GUI
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
Can you pls guide me,how to make button action i mean, whne the mouse button is click it has to perform action1,when mouse button relases it has to perform action2.
Thanks in advance for your help.
0 件のコメント
採用された回答
Friedrich
2011 年 7 月 8 日
Hi,
I think you are looking for the WindowButtonDownFcn and WindowButtonUpFcn. You can find an example called window_motion_test.m in $MATLABROOT\help\techdoc\ref\examples.
2 件のコメント
Friedrich
2011 年 7 月 8 日
This shouldnt happen normally. When clicking on a button the callback from the button is raised and the WindowButtonDownFcn. maybe something goes wrong here?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!