필터 지우기
필터 지우기

get function

조회 수: 3 (최근 30일)
saloni singhal
saloni singhal 2012년 5월 23일
what does this function do delete(get(0,'childern'))

답변 (1개)

Daniel Shub
Daniel Shub 2012년 5월 23일
It is similar to
close all
in that it makes all the figure windows disappear. It is different in some fundamental ways that are likely unimportant if you are asking this question. Basically when you close a figure window, you give the figure/GUI a chance to clean up after itself and even prevent you from closing it. When you delete a figure you don't give it this chance.
An explanation of the components of the command are that 0 is the root MATLAB graphics object. It is the parent of all "figures" including GUI interfaces. The command get(h, 'children') gets the children of object h, so get(0, 'children') gets the children of the root object. The DELETE is pretty self explanatory.

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by