How to modify the icon in the upper left corner of the app designer

4 次查看(过去 30 天)
I want to change the icon in the upper left corner of the uifigure which is created by App designer. As we can use javaFrame to modify the icon in the upper left corner of the figure. But it doesn't work in the App designer because uifigure uses DOJO of the JavaScript, and it doesn't have the 'javaFrame' property.what can I do to change the icon in the uifigure, thanks!

回答(1 个)

Yash
Yash 2024-10-4
You can change the icon on the top left of the uifigure by following the steps mentioned below:
  1. Select the "app.UIFigure" from the component browser on the right side.
  2. Expand the "Identifiers" tab at the bottom right.
  3. Select the Icon you want from the "Browse" button in the Icon field. Make sure the image is present in the same folder or added to MATLAB path.
See the image below for reference:
I hope this helps!

类别

Help CenterFile Exchange 中查找有关 Develop uifigure-Based Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by