How do I stop the editor from automatically creating a file that doesn't exist?
2 次查看(过去 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
0 个评论
采纳的回答
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!