필터 지우기
필터 지우기

Trouble Using Close Function

조회 수: 1 (최근 30일)
Hanif
Hanif 2013년 5월 30일
Writing a program where the close function will not work in a uimenu.
*function startup *
fig = figure;
File = uimenu(fig,'Label','File');
Exitbutton = uimenu(File,'Label','Exit','Callback',@Exit);
*end *
*function Exit(hObj,event)*
fig = get(hObj,'Parent');
close(fig)
*end *

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by