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

4 visualizaciones (últimos 30 días)
Xiang Li
Xiang Li el 15 de Jun. de 2018
Respondida: Yash el 4 de Oct. de 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!

Respuestas (1)

Yash
Yash el 4 de Oct. de 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!

Categorías

Más información sobre Develop uifigure-Based Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by