フィルターのクリア

Cannot save m-files after latest Windows 10 update

1 回表示 (過去 30 日間)
Boris Venet
Boris Venet 2019 年 2 月 21 日
コメント済み: Jan 2019 年 5 月 5 日
Immediately after the latest Windows 10 update, I was no longer able to save new files from the MATLAB editor. This is the Windows update named "Oct 2018", although it was only pushed to my machine a couple of days ago.
I'm running Matlab 2016A, and I experienced the following symptoms:
(1) In the Matlab editor, when I press menu items "Save - SaveAs", nothing happens (no directory window open up). I.e., I was unable to save new m-files from the editor.
(2) When I press menu item "Open", I do get the list of recently-opened files plus the general "Open ..." option. However, if I select "Open ...", again nothing happens (no directory window opens up). On the other hand, I CAN open existing m-files from the previous-file list, OR by clicking on them in File Explorer (the Windows association ".m" with Matlab was apparently preserved). Also, I can edit and resave, under the same filename, the OLD files from the Matlab editor, once they've been opened as just described. Also, Matlab computations with OLD m-files seem to proceed OK. BUT, the key issue is that no NEW files can be saved from the editor.
The only solution I've found is to roll back the offending Windows update. This required the Windows procedure "Start - Settings - Security and Updates - Recovery - Go back to an earlier build ...".
Prior to rolling back to the previous Windows version, I checked various things suggested by other Matlab and Windows users with similar problems. This included checking folder permissions, current user being administrator, turning off the "Protected folders" option in the Oct 2018 security update, adding some exclusions in Windows Defender: none of these worked for me. The only thing that worked for my case was rolling back the Oct 2018 Windows update.
If anyone experienced the same issue and found a solution other than rolling back the Windows update, I'd appreciate hearing about it. Thanks ...
  2 件のコメント
Jan
Jan 2019 年 2 月 21 日
Thanks for posting this problem. For the readers: This is something different from https://www.mathworks.com/matlabcentral/answers/378998-matlab-no-longer-able-to-save-files
Stuart Swift
Stuart Swift 2019 年 4 月 16 日
This also affects uigetfile.m , uiputfile.m and uigetdir.m on my Windows 10 machine.
Temporarily I have overloaded them as a rough workaround.

サインインしてコメントする。

回答 (1 件)

Stuart Swift
Stuart Swift 2019 年 5 月 2 日
Possibly this is a bug from Windows High Contrast mode - if you are using that then you can try switching back to a regular Windows Theme.
  1 件のコメント
Jan
Jan 2019 年 5 月 5 日
+1 Disabling the High Contrast mode let the dialogs re-appear on my Win10.

サインインしてコメントする。

カテゴリ

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

製品


リリース

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by