function launchUpdateShutdownClient(entitlementId, targetUpdateLevel, linklabel, linkurl)
connector.ensureServiceOn;
com.mathworks.update_installer_shutdown_client.UpdateShutdownServiceUtilities.initializeServices();
url = char([com.mathworks.update_installer_shutdown_client.UpdateShutdownServiceUtilities.getIndexDotHtml()]);
url = connector.getUrl(url);
debugPort = 0;
set(0,'units','pixels');
width = 520;
height = 300;
screenSize = get(groot,'ScreenSize'); %gets desktop coordinates
xCoordinate = (screenSize(3) - width) / 2;
yCoordinate = (screenSize(4) - height) / 2;
cefPosition = [xCoordinate, yCoordinate, width, height];
url =char([strcat(url, "&entitlementid=" + entitlementId, "&targetupdatelevel=" + targetUpdateLevel, "&linklabel=" + linklabel, "&linkurl=" + linkurl)]);
obj.instWin = matlab.internal.webwindow(url, debugPort, cefPosition);
obj.instWin.setResizable(false);
obj.instWin.show();
obj.instWin.bringToFront();
end
% Copyright 2019 The MathWorks, Inc.