How to rename UI Figure window in App Designer
30 ビュー (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
採用された回答
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
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
その他の回答 (1 件)
Hikmet Osman
2021 年 2 月 17 日
in the startupFcn(app) of your app add the code:
app.current name.Name='new name';
2 件のコメント
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 Center および File 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!