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

4 visualizzazioni (ultimi 30 giorni)
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!

Risposte (1)

Yash
Yash il 4 Ott 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!

Categorie

Scopri di più su Develop uifigure-Based Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by