background for design gui

How do I use background for gui design?

2 comentarios

TAB
TAB el 7 de Jun. de 2012
Do you mean, you want to add image in GUI background ?
mostafa
mostafa el 7 de Jun. de 2012
yes
Exactly
i want to add image in GUI background

Iniciar sesión para comentar.

 Respuesta aceptada

TAB
TAB el 7 de Jun. de 2012

0 votos

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

Preguntada:

el 7 de Jun. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by