First image under the following images in GUI

조회 수: 1 (최근 30일)
HC . 2019년 2월 21일
답변: Walter Roberson . 2019년 2월 21일
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?

답변 (1개)

Walter Roberson
Walter Roberson 2019년 2월 21일
persistent h
if ishghandle(h); delete(h); end
h = imshow(AppropriateArrayVariableGoesHere, 'Parent', handles.AppropriateAxesTagGoesHere)


Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by