Filter löschen
Filter löschen

How do I stop the editor from automatically creating a file that doesn't exist?

3 Ansichten (letzte 30 Tage)
After typing
edit someFile.m
I inadvertently clicked "OK" in the dialog that said that the "file doesn't exist do you want to create it now?" I got that message because the file wasn't in the current path. "Stop asking this" must have been clicked on because now, everytime I try to edit a file that is not on the current path, I get a new file in the current directory with the entered file name. How do I turn this off? I haven't been able to find where this is set.
Thanks times a million,
Bill

Akzeptierte Antwort

Jared MacDonald
Jared MacDonald am 17 Apr. 2020
Hi Bill,
Go to Preferences > General > Confirmation Dialogs, and ensure that "Prompt when editing files that do not exist" is selected.
Jared
  1 Kommentar
Otis
Otis am 17 Apr. 2020
Oh my ... That was too easy ... I can't believe I missed that (well maybe I can :) ) Thanks so much Jared.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by