When I use dos command to start Matlab, how can I specify it run as administrator for that time?

3 ビュー (過去 30 日間)
raym
raym 2017 年 5 月 6 日
回答済み: Image Analyst 2017 年 5 月 6 日
When I use dos command to start Matlab, how can I specify it run as administrator?
I use the
system('matlab -nosplash -nodesktop -minimize -r "qq.m"');
to start an instance of matlab.
Because by default the matlab was run in non-admin mode, and this function requires admin mode.
Is there a flag or something that could specify this command run as administrator?

回答 (1 件)

Image Analyst
Image Analyst 2017 年 5 月 6 日
Right click on the icon and choose Run as administrator. You can also set the icon's "properties" (right click ti bring them up) so that it always runs as administrator.

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by