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!