Cannot save m-files after latest Windows 10 update

2 visualizzazioni (ultimi 30 giorni)
Boris Venet
Boris Venet il 21 Feb 2019
Commentato: Jan il 5 Mag 2019
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 Commenti
Stuart Swift
Stuart Swift il 16 Apr 2019
This also affects uigetfile.m , uiputfile.m and uigetdir.m on my Windows 10 machine.
Temporarily I have overloaded them as a rough workaround.

Accedi per commentare.

Risposte (1)

Stuart Swift
Stuart Swift il 2 Mag 2019
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 Commento
Jan
Jan il 5 Mag 2019
+1 Disabling the High Contrast mode let the dialogs re-appear on my Win10.

Accedi per commentare.

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Prodotti


Release

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by