필터 지우기
필터 지우기

How to change preferences for edit command

조회 수: 2 (최근 30일)
Tyler Warner
Tyler Warner 2017년 1월 17일
답변: Tyler Warner 2017년 1월 19일
Hi everyone, I seem to have run into a trivial problem that I cannot do on my own as of yet.
When executing the "edit" command, I previously selected Matlab to never prompt me again, which is fine except I accidentally set it to never create the script with my inputted file name. Now all that comes up is:
edit Homework1111
Error using edit (line 65)
Neither 'Homework1111' nor 'Homework1111.m' could be found.
How can I fix it so I can have it not prompt AND create the script with my inputted name?

채택된 답변

Stephen23
Stephen23 2017년 1월 17일
편집: Stephen23 2017년 1월 17일
After edit or CRTL+D you click "yes" instead of "no":
If at some point in the past you have checked the box "Do not show this prompt again", then the moral of the story is always remember what you yourself have chosen.
This page explains how to reset that checked box:
Basically you need to check this box in the preferences:
And then you can select the default behavior to create a new file, if you so wish.

추가 답변 (2개)

Steven Lord
Steven Lord 2017년 1월 17일
In the Confirmation Dialogs section of the General preferences for MATLAB, the preference "Prompt when editing files that do not exist" will be unchecked. Check it and the dialog will show up again. Then try editing a file that doesn't exist, select the checkbox to not show the prompt again, and click Yes instead of No.

Tyler Warner
Tyler Warner 2017년 1월 19일
Thank you for the assistance. I have gained a better understanding of the general interface.

카테고리

Help CenterFile Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by