How can I access menu features on a program that runs in MATLAB from another script?
이전 댓글 표시
I'm trying to create a script that will access menu features on a program that runs in MATLAB. How do I access the different menu options for my script?
댓글 수: 7
Andrew Newell
2011년 1월 27일
Rob, it would help if you said what the program is and what you mean by a menu feature (do you mean an input argument to the function?).
rob wise
2011년 1월 27일
Walter Roberson
2011년 1월 27일
Do you have access to the source code for gaitrec ?
rob wise
2011년 1월 27일
Walter Roberson
2011년 1월 27일
With source, I would suggest looking at the callback for that menu item, and calling it yourself. If it involves a routine that does not have its own .m file and thus cannot be called by name, then you can findobj() the menu control and get() the Callback property in order to retrieve the handle you would need.
Zain Mecklai
2011년 1월 27일
Are you trying to write automated tests for your GUI or are you simply trying to drive the UI without having a user drive it for the functionality?
rob wise
2011년 1월 28일
답변 (1개)
Walter Roberson
2011년 1월 27일
0 개 추천
Java Robot class.
카테고리
도움말 센터 및 File Exchange에서 Database Toolbox에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!