background for design gui

1 次查看(过去 30 天)
mostafa
mostafa 2012-6-7
How do I use background for gui design?
  2 个评论
TAB
TAB 2012-6-7
Do you mean, you want to add image in GUI background ?
mostafa
mostafa 2012-6-7
yes
Exactly
i want to add image in GUI background

请先登录,再进行评论。

采纳的回答

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

更多回答(1 个)

Sean de Wolski
Sean de Wolski 2012-6-7

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by