Unable to change default printer using printopt

Attempting to edit the "printopt.m" file results in an "Access denied" dialog. How can I edit this file on Windows 10?

 採用された回答

MathWorks Support Team
MathWorks Support Team 2018 年 2 月 15 日

0 投票

Files installed on the default MATLAB path by MATLAB may require permissions to access. Access to this file requires administrator permissions. Try running MATLAB as admin and then editing the function.
 
Alternatively you could delete the "printopt.M" file from the default location and move it elsewhere. If using this method, be sure to add the new file to the MATLAB path. More information about adding files to the MATLAB path can be found at:

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by