Effacer les filtres
Effacer les filtres

Cannot save m-files after latest Windows 10 update

1 vue (au cours des 30 derniers jours)
Boris Venet
Boris Venet le 21 Fév 2019
Commenté : Jan le 5 Mai 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 commentaires
Jan
Jan le 21 Fév 2019
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 le 16 Avr 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.

Connectez-vous pour commenter.

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Produits


Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by