MATLAB: How to create a shortcut or link to MATLAB in Windows 8

MATLABshortcut

I missed a shortcut to MATLAB in Windows 8 How Create it?

Best Answer

Start Matlab once and then right-click on the icon in the taskbar: Select "pin to taskbar" to fix it there.
Or search the C:\Programs folder for the Matlab application and copy a link to the desktop manually.
In e.g. Matlab R2009a there is a link in matlabroot. Then try this:
LinkDir = dir(fullfile(matlabroot, '*.lnk'));
Link = fullfile(matlabroot, LinkDir(1).name);
Profile = getenv('USERPROFILE')
copyfile(Link, fullfile(Profile, 'Desktop', 'Matlab.lnk'), 'f')