function imagetoURL
f = uifigure('Visible','off');

im = uiimage(f);
im.Position = [20 250 100 100];
im.ImageSource = 'mylogo.png';
im.ImageClickedFcn = @ImageClicked;
im.Enable = 'off';

    function ImageClicked(src,event)
        url = 'https://www.mathworks.com/';
        web(url);
    end

cbx = uicheckbox(f,'Text','Logo');
cbx.Position = [140 285 100 22];
cbx.ValueChangedFcn = @(cbx,event) cBoxChanged(cbx,im);
cbx.Value = false;

    function cBoxChanged(cbx,im)
        if cbx.Value == false
            im.Enable = 'off';           
        else
            im.Enable = 'on';           
        end   
    end

f.Visible = 'on';
end