Auto Complete in MATLab

16 次查看(过去 30 天)
Alpha Boy
Alpha Boy 2020-7-21
Hello,
I am quite new in MATLab. I want to know how can I turn on auto complete for MATLab. Like when I type "[", It will automitacally shows "]". Please help me to do this.

回答(2 个)

Walter Roberson
Walter Roberson 2020-7-21
Those features are available in the Live Editor, but are not currently available in the editor for traditional scripts.
  6 个评论
Walter Roberson
Walter Roberson 2020-7-21
Live Scripts are for more interactive work. They display results as they go. They can be marked up with equations and text and pictures.
... They are also slower than regular MATLAB (but R2020a improved performance.)

请先登录,再进行评论。


Image Analyst
Image Analyst 2020-7-22
Maybe what you're looking for is the autocomplete of a function, like when you type
>> vr=VideoReader(
then hit the tab key and get a list of arguments, methods, or properties.
  5 个评论
Stanislav Buklovskyi
Ok, so Tab is accepting the suggestion/ What if I want to ignore the suggesion using the keyboard?
Image Analyst
Image Analyst 2022-6-6
@Stanislav Buklovskyi you should be able to just keep typing as you were planning. Just ignore any suggestion. Eventually the suggestions will go away when they are not applicable to where your cursor is on the line of code.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by