How to change preferences for edit command

4 visualizaciones (últimos 30 días)
Tyler Warner
Tyler Warner el 17 de En. de 2017
Respondida: Tyler Warner el 19 de En. de 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?

Respuesta aceptada

Stephen23
Stephen23 el 17 de En. de 2017
Editada: Stephen23 el 17 de En. de 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.

Más respuestas (2)

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

Categorías

Más información sobre Debugging and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by