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

조회 수: 1 (최근 30일)
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

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by