How can I turn off automatic suggestions and completions in the MATLAB Editor?

223 visualizaciones (últimos 30 días)
I do not want MATLAB to provide automatic completions for commands I type in the MATLAB Editor. How can I turn this feature off?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 12 de Sept. de 2024
Editada: MathWorks Support Team el 18 de Sept. de 2024
MATLAB R2022b to Present
You can turn off automatic suggestions and completions through the MATLAB Preferences:
  1. Go to the 'Home' tab in the MATLAB toolstrip and in the 'Environment' section, click 'Preferences'.
  2. Select 'MATLAB > Editor/Debugger > Automatic Completions' and in the 'Suggestions and completions' section, uncheck 'Show suggestions automatically'.
  3. Click 'Apply' and 'Ok' to save the option.
MATLAB R2021b and R2022a:
You can turn off automatic suggestions and completions through the MATLAB Preferences:
  1. Go to the 'Home' tab in the MATLAB toolstrip and in the 'Environment' section, click 'Preferences'.
  2. Select 'MATLAB > Editor/Debugger > Automatic Completions' and in the 'Suggestions and completions' section, select the 'Show on tab' option.
  3. Click 'Apply' and 'Ok' to save the option.
You can also turn off automatic suggestions and completions in the MATLAB Editor itself:
  1. Click into any script and navigate to the 'View' tab
  2. In the 'Display' section, click the 'Automatic Completions' button off
The MATLAB Editor will now show suggestions and completions when the tab key is pressed, rather than showing them automatically.
Note: MATLAB versions R2021a and before do not support autocomplete on typing. However, suggestions and completions when using the tab key are still available for older versions.

Más respuestas (0)

Categorías

Más información sobre Entering Commands en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by