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

4 Ansichten (letzte 30 Tage)
Xiang Li
Xiang Li am 15 Jun. 2018
Beantwortet: Yash am 4 Okt. 2024
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!

Antworten (1)

Yash
Yash am 4 Okt. 2024
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!

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