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

170 Ansichten (letzte 30 Tage)
I do not want MATLAB to provide automatic completions for commands I type in the MATLAB Editor. How can I turn this feature off?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 12 Sep. 2024
Bearbeitet: MathWorks Support Team am 18 Sep. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by