How to rename UI Figure window in App Designer

조회 수: 80 (최근 30일)
Andre Munoz
Andre Munoz 2017년 10월 4일
댓글: Thibault MARIN 2022년 2월 22일
Hi
I am currently using App Designer to create an app which, I will eventually run through deploytool to generate a .exe file. However, I cannot change the app window title from UI Figure to a custom one. Please can anyone assist me?

채택된 답변

Marco
Marco 2017년 10월 6일
Hello, in order to rename your UIFigure you can follow this steps: - open your project in App Designer - In the COMPONENT BROWSER menu (you can find it on the right) select the first element in the list - In the UI FIGURE PROPERTIES (down on the right) you can add the name that you want in the Title field.
BR Marco
  댓글 수: 4
Kristoffer Walker
Kristoffer Walker 2020년 2월 6일
편집: Kristoffer Walker 2020년 2월 6일
Ok, I figured this out. In order to change names for the version I am using (2019b), I need to make sure that "IntegerHandle" is checked. If I do not check any of these (the default for me), then I get that error above. Hope this helps someone.
Kris
Brian Concannon
Brian Concannon 2020년 8월 20일
It helped me.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Hikmet Osman
Hikmet Osman 2021년 2월 17일
in the startupFcn(app) of your app add the code:
app.current name.Name='new name';
  댓글 수: 2
Robert Scott
Robert Scott 2021년 8월 17일
This does not work just FYI
There is no method for that
Thibault MARIN
Thibault MARIN 2022년 2월 22일
i think Hikmet meant you have to rename the Figure, not the app itself.
It works, and you can customize it if you use a sprintf function :
app.CurrentAppUIFigure.Name = sprintf('APP - %s (DATA)',name);

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Develop 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