background for design gui

5 Ansichten (letzte 30 Tage)
mostafa
mostafa am 7 Jun. 2012
How do I use background for gui design?
  2 Kommentare
TAB
TAB am 7 Jun. 2012
Do you mean, you want to add image in GUI background ?
mostafa
mostafa am 7 Jun. 2012
yes
Exactly
i want to add image in GUI background

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (1)

Sean de Wolski
Sean de Wolski am 7 Jun. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by