Change MATLAB App window title

223 ビュー (過去 30 日間)
Rich006
Rich006 2023 年 6 月 7 日
コメント済み: Rich006 2023 年 6 月 7 日
I created an app (in MATLAB R2023a) using App Designer. I want to change the UI Figure window title from "MATLAB App" to a custom title. How can this be done?

採用された回答

Mario Malic
Mario Malic 2023 年 6 月 7 日
You can do it in two ways:
Programatically: find the handle of your UIFigure component in the component browser and type in your startupFcn:
app.UIFigure.Name = 'Custom name';
Otherwise, see picture and change the Name property:
  2 件のコメント
Rich006
Rich006 2023 年 6 月 7 日
The programatic method works for me, but in the Component Browser, I do not see the same options that you show.
Rich006
Rich006 2023 年 6 月 7 日
Oh, I see. If I click in the UI Figure window, then I see the options you show. If I click in the app but outside the UI Figure, then I see the App options as in my screenshot.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by