Is there a spell checker option for MATLAB?

조회 수: 51 (최근 30일)
Tom Salomon
Tom Salomon 2018년 4월 3일
댓글: Daven Gooden 2020년 8월 11일
I recently started to work with python and PyCharm. As a long time MATLAB user I found it so useful PyCharm has an integrated spell-checker. Not only it make the code much nicer to read, it also helps to prevent coding errors due to misspelling of variables and functions. Do you know of an option like that for MATLAB?
  댓글 수: 4
Rian Koja
Rian Koja 2019년 6월 4일
PyCharm does checks possible errors in variable names, but it not only that. It actually checks a dictionary to verify spelling mistakes, both in comments and for variables. I.e. it will put an underline below CanelCase, but not below CamelCase.
Daven Gooden
Daven Gooden 2020년 8월 11일
@Rian: I'm with you regarding a similar PyCharm spell check functionality integrated into Matlab's editor. Not sure why MathWorks® has not added this capability, as it is needed and would be greatly appreciated. Let's hope it is made available in a near future release.

댓글을 달려면 로그인하십시오.

답변 (1개)

Manali Gupta
Manali Gupta 2019년 6월 4일
The below link can be referred.
  댓글 수: 2
Rian Koja
Rian Koja 2019년 6월 4일
This answer refers to checking the spelling of a single word. It "works", and could be a starting point to something better. But if checking code overall, I'd prefer to copy-and-paste the code into word, spell checking and then copying bakc again to the editor. Some people do that, it is boring, prone to errors and hard to enforce that everyone in a team does it everytime. Totally not worth it. Pycharm spellcheking, in comparison, is built-in, you are using it until you actively disable it. It pops up in the text editor, along with PEP8 style guidelines. It really helps improving overall code with less revisions over little additional effort.
Rik
Rik 2019년 6월 4일
For the comment parts you can use a submission like this, but that isn't built-in either.

댓글을 달려면 로그인하십시오.

카테고리

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