MATLAB: Using System() with administrator privilages

MATLABsystem

I am trying to create a shortcut using the system(command); command but i am getting output:
You do not have sufficient privilege to perform this operation.
How can i call system with administrator privileges to avoid this?

Best Answer

See "runas" under Windows and "sudo" under Linux/Mac.