No BSD License  

Highlights from
enable.m / disable.m

from enable.m / disable.m by Richard Medlock
Helper function to enable/disable uicontrols.

disable(object)
function disable(object)

% Disables the specified object or control.

set(object,'enable','off');

Contact us at files@mathworks.com