Code covered by the BSD License  

Highlights from
Ellipseselect

image thumbnail
from Ellipseselect by Rajiv Narayan
An interactive ellipse selection tool

cbkswitch(varargin)
function varargout = cbkswitch(varargin)

if (nargout == 0)
  feval(varargin{:});
else
  [varargout{1:nargout}] = feval(varargin{:});
end

Contact us at files@mathworks.com