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

200 次查看(过去 30 天)
I do not want MATLAB to provide automatic completions for commands I type in the MATLAB Editor. How can I turn this feature off?

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2024-9-18
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Entering Commands 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by