Change MATLAB App window title

162 Ansichten (letzte 30 Tage)
Rich006
Rich006 am 7 Jun. 2023
Kommentiert: Rich006 am 7 Jun. 2023
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?

Akzeptierte Antwort

Mario Malic
Mario Malic am 7 Jun. 2023
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 Kommentare
Rich006
Rich006 am 7 Jun. 2023
The programatic method works for me, but in the Component Browser, I do not see the same options that you show.
Rich006
Rich006 am 7 Jun. 2023
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Develop uifigure-Based Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by