i made the image as background for GUI,???? but i want to add button when i will press it will change the background to another image ??? how
ah = axes('unit', 'normalized', 'position', [0 0 1 1]); % import the background image and show it on the axes
bg = imread('work/bg_red.jpg'); imagesc(bg);% prevent plotting over the background and turn the axis off
set(ah,'handlevisibility','off','visible','off')% making sure the background is behind all the other uicontrols
uistack(ah, 'bottom');
Best Answer