MATLAB: How to make a shortcut to always “Run as Administrator”

administrator

I would like to change the default startup of Matlab to 'Run as Administrator', which is necessary for tasks like saving the path. I start Matlab from a desktop icon and would like to alter the icon properties so I always 'Run as Administrator'. Or if there is another way to make the default startup of any Matlab session to run as administrator, please let me know. I know this can be done via right clicking on Matlab from the Windows start menu, but would like to not have to take this extra step. I am using Windows 10 and running R2015b.

Best Answer

Please keep in mind that this is a Windows workflow and not a MATLAB specific one.
What I would suggest is
  1. Go to the MATLAB icon
  2. Click on properties
  3. Go to the Shortcut tab
  4. Press Advanced..
  5. Check the "Run as administrator" checkbox.