Hi, if there is no figure, gcf() should return an empty handle, shouldn't it? Now you get a handle to a new default figure, which is opened. That is the expected (and actual) response from scf(). Is this a bug in gcf()? Regards Stefan