matlab - Why does close(gcf) retain a graphical handle in the workspace? -
say plot data in
h = figure; plot(1:10);
this creates both new window , object in workspace (h
). if close window (mouse or command line)
close(h);
it close window h
still in workspace. get(h)
returns
invalid or deleted object.
why that? don't rationale of keeping object handle deleted figure can nothing with.
Comments
Post a Comment