print stopped working in MatLab 2017b, possibly after Windows 10 update. Is there a fix?.
2 ビュー (過去 30 日間)
古いコメントを表示
print worked yesterday (saving png format), but not today. There was a Win 10 update on this computer yesterday, so i wonder if that broke something.
2 件のコメント
Steven Lord
2019 年 10 月 21 日
Can you clarify what "stopped working" means? Do you receive an error or warning message or do you simply not receive any hard-copy from your printer? If you received an error (red text) or warning (orange text) message, can you show the full and exact text of that message? Copy and paste the whole message into a comment.
回答 (1 件)
Steven Lord
2019 年 10 月 21 日
Does plotPath end with the file separator character returned by filesep? If not, check one directory up to see if there's a file whose name has the last part of plotPath and the whole plotName together. If this is the cause of the problem you should probably use fullfile instead of manually combining the path and name together. It handles the case where plotPath or plotName start with a file separator.
Do you still have write permission to the directory where you're trying to save the file? I'm not certain why a system update would matter for that, unless you're trying to write to a directory that the operating system manages, but it's worth checking. [Though if that were the case I'd expect you to receive a warning or error ...] Maybe if you're trying to write to a network drive it might matter.
2 件のコメント
Håkon Storheim
2020 年 4 月 15 日
Did you find any solution to this problem?,
I am experiencing the same thing: trying to 'print' a figure, or using 'saveas', with scripts that worked just fine before, will not save any thing, and no error message shows up. Working local on C drive just like Robert.
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!