First image under the following images in GUI

1 visualización (últimos 30 días)
HC
HC el 21 de Feb. de 2019
Respondida: Walter Roberson el 21 de Feb. de 2019
In my GUI, I have a button that says "Next Image", after the first image, underneath every following image, the first image is "under" the other images. Is there a code I can insert into my GUI m file to remove that first image?

Respuestas (1)

Walter Roberson
Walter Roberson el 21 de Feb. de 2019
persistent h
if ishghandle(h); delete(h); end
h = imshow(AppropriateArrayVariableGoesHere, 'Parent', handles.AppropriateAxesTagGoesHere)

Community Treasure Hunt

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

Start Hunting!

Translated by