background for design gui

How do I use background for gui design?

2 个评论

Do you mean, you want to add image in GUI background ?
yes
Exactly
i want to add image in GUI background

请先登录,再进行评论。

 采纳的回答

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

Community Treasure Hunt

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

Start Hunting!

Translated by