matlab GUI for control serial output
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, I am making a GUI to control robot by sending serial output. My ideal is write a program that continuous send serial string, and when press a button, one character in that string will change. For example: my output is 'aaaa', when press 'change_first_char_button', my output will change into 'zaaa', and when release that button, the output will return 'aaaa' . The output will depend on what button is pressed.So if press 'change_first_char_button' and 'change_last_char_button', the output will be something like 'zaar' I know it sound simple but, I still cannot figure out how to make it. Thanks.
댓글 수: 0
답변 (1개)
Benjamin Schwabe
2012년 2월 26일
Hi,
please have a look at the GUIDE command. It will allow you to set up any GUI. The only thing you have to do afterwards is to set up the CallBack functions for each button you want to have properly.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Low-Level File I/O에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!