1 / 22

MATLAB

MATLAB. Handle Graphics System & GUI. Contents. 1. Handle Graphics System. 2. GUI 프로그래밍 기초. 3. Exercises. Handle Graphics System. Handle Graphics System. Handle Graphics Hierarchy. Handle Graphics System. Handle Graphics System. Handle 이란 ? Figure Object 에 부여한 고유한 이름 ( 즉 , 1, 2,…)

trung
Download Presentation

MATLAB

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MATLAB Handle Graphics System & GUI

  2. Contents 1. Handle Graphics System 2. GUI 프로그래밍 기초 3. Exercises DSRL

  3. Handle Graphics System DSRL

  4. Handle Graphics System • Handle Graphics Hierarchy DSRL

  5. Handle Graphics System DSRL

  6. Handle Graphics System • Handle 이란? • Figure Object에 부여한 고유한 이름(즉, 1, 2,…) • Root Object는 하나만 존재하므로, 0 • propertyname 이란? • 제어의 대상에 관련된 효과의 종류 • propretyvalue 이란? • 제어의 대상에 새롭게 부여한 효과의 값 DSRL

  7. Handle Graphics System • 전형적인 사용방법 : set.m • set(handle, propertyname, propertyvalue) • : 주어진 그래픽 객체(handle)가 갖고 있는 propertyname을 새로운 propertyvalue로 고쳐줍니다. • 전형적인 사용방법 : get.m • Propertyvalue = get(handle, propertyname) • : 주어진 그래픽 객체(handle)가 갖고 있는 propertyname에 활당된 propertyvalue를 얻는다. DSRL

  8. GUI 프로그래밍 기초 전형적인 사용방법(Syntax) : uicontrol.m a) h = uicontrol(‘propertyname’, ‘propertyvalue’, … ‘propertyname’, ‘propertyvalue’) : 현재, 활성화되어 있는 Figure Object에 지정한 propertyname과 propertyvalue에 맞게 Uicontrol 요소들을 첨가해 줍니다. b) h = uicontrol(fig_handle, ‘propertyname’, ‘propertyvalue’, … ‘propertyname’, ‘propertyvalue’) : 여기서, Fig_handle은 Uicontrol Object를 첨가시킬 figure Object의 handle을 의미합니다. DSRL

  9. GUI 프로그래밍 기초 • Pushbutton • Uicontrol 요소들 중에서 default style DSRL

  10. GUI 프로그래밍 기초 • Pushbutton DSRL

  11. GUI 프로그래밍 기초 • Check Box와 Radio Button DSRL

  12. GUI 프로그래밍 기초 • Check Box와 Radio Button DSRL

  13. GUI 프로그래밍 기초 • Edit Box와 Static Box DSRL

  14. GUI 프로그래밍 기초 • Edit Box와 Static Box DSRL

  15. GUI 프로그래밍 기초 • Edit Box와 Static Box DSRL

  16. GUI 프로그래밍 기초 • Popupmenu와 List Box DSRL

  17. GUI 프로그래밍 기초 • Popupmenu와 List Box Text Section Popupmenu Section Axes Section Frame Section List Box Section DSRL

  18. GUI 프로그래밍 기초 • Popupmenu와 List Box DSRL

  19. GUI 프로그래밍 기초 • Slider의 사용 방법 Edit Box Section Static Text Section Sliderbar Section DSRL

  20. GUI 프로그래밍 기초 • Slider의 사용 방법 DSRL

  21. Exercises • 다음과 같은 GUI프로그램을 작성하시오. • 섭씨온도와 화씨온도를 자동으로 변환하는 GUI프로그램 (단, 섭씨온도는0~100℃, 화씨온도는32~212℉의범위로 제한) • 변환식 DSRL

  22. http://blog.naver.com/gajest Thank You !

More Related