Auto Complete in MATLab

8 visualizzazioni (ultimi 30 giorni)
Alpha Boy
Alpha Boy il 21 Lug 2020
Commentato: Image Analyst il 6 Giu 2022
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.

Risposte (2)

Walter Roberson
Walter Roberson il 21 Lug 2020
Those features are available in the Live Editor, but are not currently available in the editor for traditional scripts.
  6 Commenti
Walter Roberson
Walter Roberson il 21 Lug 2020
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.)
Alpha Boy
Alpha Boy il 21 Lug 2020
OK, Thanks :D

Accedi per commentare.


Image Analyst
Image Analyst il 22 Lug 2020
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 Commenti
Stanislav Buklovskyi
Stanislav Buklovskyi il 6 Giu 2022
Ok, so Tab is accepting the suggestion/ What if I want to ignore the suggesion using the keyboard?
Image Analyst
Image Analyst il 6 Giu 2022
@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.

Accedi per commentare.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by