How to change preferences for edit command

4 Ansichten (letzte 30 Tage)
Tyler Warner
Tyler Warner am 17 Jan. 2017
Beantwortet: Tyler Warner am 19 Jan. 2017
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?

Akzeptierte Antwort

Stephen23
Stephen23 am 17 Jan. 2017
Bearbeitet: Stephen23 am 17 Jan. 2017
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.

Weitere Antworten (2)

Steven Lord
Steven Lord am 17 Jan. 2017
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 am 19 Jan. 2017
Thank you for the assistance. I have gained a better understanding of the general interface.

Kategorien

Mehr zu Debugging and Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by