background for design gui

How do I use background for gui design?

2 commentaires

TAB
TAB le 7 Juin 2012
Do you mean, you want to add image in GUI background ?
mostafa
mostafa le 7 Juin 2012
yes
Exactly
i want to add image in GUI background

Connectez-vous pour commenter.

 Réponse acceptée

TAB
TAB le 7 Juin 2012

0 votes

In the OpeningFcn callback of your GUI add below code
BkImage = importdata('backgnd.jpg'); %Read the image file
axes(handles.BkAxes);
image(BkImage);

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by