background for design gui

5 views (last 30 days)
mostafa
mostafa on 7 Jun 2012
How do I use background for gui design?
  2 Comments
TAB
TAB on 7 Jun 2012
Do you mean, you want to add image in GUI background ?
mostafa
mostafa on 7 Jun 2012
yes
Exactly
i want to add image in GUI background

Sign in to comment.

Accepted Answer

TAB
TAB on 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);

More Answers (1)

Sean de Wolski
Sean de Wolski on 7 Jun 2012

Community Treasure Hunt

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

Start Hunting!