using System() with administrator privilages
显示 更早的评论
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?
采纳的回答
更多回答(2 个)
raym
2017-5-6
0 个投票
This also solved my problem. Thanks Edward.
I fixed the problem by closing MATLAB and reopening it with administrator privileges. (right click matlab -> run as administrator).
Fatima Abdulhakim
2017-12-10
0 个投票
my matlab is not opening.what i have to do?
2 个评论
Walter Roberson
2017-12-10
Contact Mathworks for free installation assistance
Jan
2017-12-10
@Fatima: Please do not hijack a thread by posting a new question in the section for answers. Open your own thread instead. If you do so, add any details: Did it work before? How do you try to open it? Which messages do you get?
Please remove this pseudo-answer after you have created your own question. Thanks.
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!