background for design gui

5 vues (au cours des 30 derniers jours)
mostafa
mostafa le 7 Juin 2012
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
In the OpeningFcn callback of your GUI add below code
BkImage = importdata('backgnd.jpg'); %Read the image file
axes(handles.BkAxes);
image(BkImage);
  1 commentaire
mostafa
mostafa le 7 Juin 2012
Thank you very much

Connectez-vous pour commenter.

Plus de réponses (1)

Sean de Wolski
Sean de Wolski le 7 Juin 2012
  1 commentaire
mostafa
mostafa le 7 Juin 2012
Thank you very much

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by