フィルターのクリア

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 Center および File ExchangeDevelop uifigure-Based Apps についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by