필터 지우기
필터 지우기

Adding text to label sliders in a uifigure.

조회 수: 6 (최근 30일)
John Havenar
John Havenar 2024년 6월 6일
답변: Voss 2024년 6월 6일
I am trying to add labels to sliders in an app I'm creating programmatically. It's just a few sliders in a uigridlayout inside of a uifigure. I see in the AppDesigner that there's a quick and easy label component, but I cannot find a way to do such a thing programmatically.
I would use a uicontrol set to 'text', but I cannot place that inside a grid layout. I want it to be placed in a way that it stays with the slider if the window is resized.

채택된 답변

Voss
Voss 2024년 6월 6일
uilabel is the function to create a label component programmatically.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop uifigure-Based Apps에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by