필터 지우기
필터 지우기

How to Display Matlab helps and Warning in editor

조회 수: 2 (최근 30일)
Sabri Çetin
Sabri Çetin 2016년 6월 16일
편집: Sabri Çetin 2016년 6월 18일
Upon learning new commands, matlab help database is extremely useful, but upon doing practice, I would like to find and fix my mistakes by myself. So is there a way of displaying those wardings and red lines under the problematic part?
  댓글 수: 2
Steven Lord
Steven Lord 2016년 6월 16일
I'm not sure what you're asking ... if the Code Analyzer preference is set, you should see the orange and red underlines indicating a problem that Code Analyzer can detect when your code is open in the Editor. If you're not, open the Preferences (on the Home tab of the toolstrip) and check that Code Analyzer messages are enabled.
Sabri Çetin
Sabri Çetin 2016년 6월 18일
편집: Sabri Çetin 2016년 6월 18일
I see your point, what I am saying in the body part is somehow contradictory. It seems that I was not careful enough upon asking my question. So, by mistake, I used 'display' instead of 'disable'. This leads to the confusion. I asked my question again and restated my problem, sorry for this.

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

채택된 답변

KSSV
KSSV 2016년 6월 17일
Yes you can display the warning messages and error messages in code. Follow the below documentation: warnings: http://in.mathworks.com/help/matlab/ref/warning.html
And yes, the help and documentation of MATLAB is tremendous. Good luck for your MATLAB learning.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by