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

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

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 12 Set 2024
Modificato: MathWorks Support Team il 18 Set 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.

Più risposte (0)

Categorie

Scopri di più su Entering Commands in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by