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!