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

226 views (last 30 days)
I do not want MATLAB to provide automatic completions for commands I type in the MATLAB Editor. How can I turn this feature off?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 12 Sep 2024
Edited: MathWorks Support Team on 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.

More Answers (0)

Categories

Find more on Entering Commands in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!