Main Content

uifigure 기반 앱 개발하기

앱 작성에 사용할 수 있도록 설계된 UI Figure를 사용하여 프로그래밍 방식으로 앱 개발(uifigure 함수)

MATLAB® 함수를 사용하여 앱 레이아웃 및 동작을 코딩하여 프로그래밍 방식으로 앱을 설계하고 편집할 수 있습니다. uifigure 함수는 앱 작성을 위해 특별히 구성된 Figure를 만들며 사용자 인터페이스의 컨테이너 역할을 합니다. UI Figure는 앱 디자이너가 지원하는 것과 같은 유형의 최신 그래픽스와 대화형 UI 컴포넌트를 지원합니다.

함수

모두 확장

uifigure앱 디자인을 위한 Figure 만들기
uigridlayoutCreate grid layout manager
uipanel패널 컨테이너 만들기
uitabgroup탭이 있는 패널에 대한 컨테이너 만들기
uitab탭이 있는 패널 만들기
uiaxes앱에서 플롯을 위한 UI 좌표축 만들기
axes카테시안 좌표축 생성
geoaxes지리 좌표축 만들기
polaraxes극좌표 좌표축 만들기

일반 컴포넌트

uibutton누름 버튼 또는 상태 버튼 컴포넌트 생성
uibuttongroup버튼 그룹을 만들어 라디오 버튼과 토글 버튼 관리
uicheckbox체크박스 컴포넌트 만들기
uicolorpickerCreate color picker component (R2024a 이후)
uidatepickerCreate date picker component
uidropdown드롭다운 컴포넌트 생성
uieditfield텍스트 또는 숫자 편집 필드 컴포넌트 만들기
uihyperlinkCreate hyperlink component (R2021a 이후)
uiimageCreate image component
uilabel레이블 컴포넌트 만들기
uilistbox목록 상자 컴포넌트 만들기
uiradiobuttonCreate radio button component
uislider슬라이더 또는 범위 슬라이더 구성요소 만들기
uispinnerCreate spinner component
uitable 테이블 사용자 인터페이스 구성요소 생성
uitextareaCreate text area component
uitogglebuttonCreate toggle button component
uitree트리 또는 체크박스 트리 컴포넌트 만들기
uitreenodeCreate tree node component

Figure 툴

uicontextmenuCreate context menu component
uimenu메뉴 또는 메뉴 항목 만들기
uipushtoolCreate push tool in toolbar
uitoggletoolCreate toggle tool in toolbar
uitoolbarCreate toolbar in figure

계측 컴포넌트

uigauge계기판 컴포넌트 만들기
uiknobCreate knob component
uilamp램프 컴포넌트 만들기
uiswitch슬라이더 스위치, 로커 스위치 또는 토글 스위치 컴포넌트 만들기

확장 가능 컴포넌트

uihtmlCreate HTML UI component (R2019b 이후)

스타일 지정용 컴포넌트

uistyleCreate style for UI component (R2019b 이후)
addStyleAdd style to UI component (R2019b 이후)
removeStyleRemove style from UI component (R2019b 이후)

트리 노드

expand트리 노드 확장
collapseCollapse tree node
moveMove tree node

상황별 메뉴

openOpen context menu at location within UI figure (R2020a 이후)

스크롤 가능 컴포넌트

scrollScroll to location within component
isInScrollViewDetermine if component is visible in scrollable container (R2022a 이후)

포커스 이동 가능 컴포넌트

focusFocus UI component (R2022a 이후)

확장 가능 컴포넌트

sendEventToHTMLSourceSend HTML UI component event from MATLAB to JavaScript (R2023a 이후)

레이아웃

uistackUI 컴포넌트의 시각적 쌓임 순서 재정렬
moveguiFigure를 화면의 지정된 위치로 이동
uialert알림 대화 상자 표시
uiconfirmCreate confirmation dialog box
uiprogressdlgCreate progress dialog box
uisetcolor색 선택기 열기
uigetfile파일 선택 대화 상자 열기
uiputfile파일을 저장하기 위한 대화 상자 열기
uigetdir폴더 선택 대화 상자 열기
uiopen파일 선택 대화 상자를 열고 선택된 파일을 작업 공간에 불러오기
uisaveMAT 파일에 변수를 저장하기 위한 대화 상자 열기

속성

모두 확장

UI Figure 속성uifigure 기반 앱의 UI Figure 모양 및 동작 제어
GridLayout PropertiesControl grid layout manager behavior
Panel PropertiesControl panel appearance and behavior
TabGroup PropertiesControl tab group appearance and behavior
Tab PropertiesControl tab appearance and behavior
UIAxes 속성UI 좌표축의 모양과 동작
Axes 속성 좌표축의 모양과 동작
GeographicAxes PropertiesControl geographic axes appearance and behavior
PolarAxes 속성극좌표 좌표축의 모양과 동작

일반 컴포넌트

Button 속성버튼의 모양과 동작 제어
ButtonGroup PropertiesControl button group appearance and behavior
CheckBox 속성체크박스의 모양과 동작 제어
CheckBoxTree PropertiesControl check box tree appearance and behavior (R2021a 이후)
ColorPicker PropertiesControl color picker appearance and behavior (R2024a 이후)
DatePicker 속성날짜 선택기의 모양 및 동작 제어
DropDown 속성드롭다운 목록의 모양과 동작 제어
EditField 속성편집 필드의 모양과 동작 제어하기
Hyperlink PropertiesControl hyperlink appearance (R2021a 이후)
Image PropertiesControl image component appearance and behavior
Label 속성레이블의 모양 제어
ListBox 속성목록 상자의 모양과 동작 제어
NumericEditField PropertiesControl numeric edit field appearance and behavior
ProgressDialog PropertiesControl progress dialog box appearance and behavior
RadioButton PropertiesControl radio button appearance
RangeSlider PropertiesControl range slider appearance and behavior (R2023b 이후)
Slider 속성슬라이더의 모양과 동작 제어
Spinner PropertiesControl spinner appearance and behavior
StateButton 속성상태 버튼의 모양과 동작 제어
Table 속성테이블 UI 구성요소의 모양과 동작 제어
TextArea 속성텍스트 영역의 모양과 동작 제어
ToggleButton PropertiesControl toggle button appearance
Tree PropertiesControl tree appearance and behavior
TreeNode 속성트리 노드의 모양과 동작 제어

Figure 툴

ContextMenu 속성상황별 메뉴의 모양과 동작 제어
Menu 속성메뉴의 모양과 동작 제어
PushTool PropertiesControl push tool appearance and behavior
ToggleTool PropertiesControl toggle tool appearance and behavior
Toolbar PropertiesControl toolbar appearance and behavior

계측 컴포넌트

DiscreteKnob PropertiesControl discrete knob appearance and behavior
Gauge PropertiesControl gauge appearance and behavior
Knob PropertiesControl knob appearance and behavior
Lamp 속성램프 모양 제어
LinearGauge PropertiesControl linear gauge appearance and behavior
NinetyDegreeGauge PropertiesControl ninety-degree gauge appearance and behavior
RockerSwitch PropertiesControl rocker switch appearance and behavior
SemicircularGauge PropertiesControl semicircular gauge appearance
Switch 속성스위치의 모양과 동작 제어
ToggleSwitch 속성토글 스위치의 모양과 동작 제어

확장 가능 컴포넌트

HTML PropertiesControl HTML UI component appearance and behavior (R2019b 이후)
Style PropertiesStyle for table or tree UI component (R2019b 이후)

도움말 항목

프로그래밍 방식 앱 작성의 기본 사항 알아보기

앱 모양 사용자 지정하기

앱 동작 프로그래밍하기