First image under the following images in GUI

1 回表示 (過去 30 日間)
HC
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 Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by