The figure closed after pressing push button?

1 次查看(过去 30 天)
Guys, I am creating a figure and I have in that figure a push button for executing *.m file. after pressing in that push button the figure will be closed immediately. How to prevent the figure to be closed?
the code I am using is simple as follows:
% --- Executes on button press in btnProceesImage.
function btnProceesImage_Callback(hObject, eventdata, handles)
parasite1;
viewresults;
  2 个评论
Christian Dieterich
编辑:Christian Dieterich 2018-4-3
Maybe you have in one of the two functions the command "close" or "close all" ? This command closes all opened figures.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by