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
2018-4-3
编辑: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 Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!