MATLAB Answers

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

45 views (last 30 days)
MathWorks Support Team
MathWorks Support Team on 23 Sep 2021 at 4:00
Commented: Paolo Minzioni on 12 Oct 2021 at 23:49
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 23 Sep 2021 at 4:00
To turn off automatic suggestions and completions in the MATLAB Editor, on the 'View' tab in the MATLAB toolstrip, in the 'Display' section, click the 'Automatic Completions' button off. When automatic suggestions and completions are off, you can use the 'Tab' key to manually show suggestions and completions.
You can also 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.
The MATLAB Editor will now show suggestions and completions when the tab key is pressed, rather than showing them automatically.
  1 Comment
Paolo Minzioni
Paolo Minzioni on 12 Oct 2021 at 23:49
Sorry, but what if I really want them to be off, so that I can use the Tab to insert a Tab-space, instead of selecting the auto-suggestion? Is that possible?
Am I forced to add a space before each tab-space to avoid this problem?
Thanks in advance !

Sign in to comment.

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!