Is MATLAB case-sensitive?

조회 수: 26 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2010년 1월 26일
댓글: Adam Danz 2022년 12월 5일
I would like to know if MATLAB is completely case-sensitive.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2021년 10월 14일
편집: MathWorks Support Team 2021년 10월 15일
Generally speaking, MATLAB is case-sensitive.
MATLAB is case sensitive for function, script, and variable names for all platforms, but name-value pairs can sometimes be insensitive. 
For example, 
>> plot(1:10,'linewidth',3)
>> plot(1:10,'LineWidth',3)
>> plot(1:10,'LINEWIDTH',3)
works the same way, but
>> Plot(1:10)
won't work.
  댓글 수: 1
Adam Danz
Adam Danz 2022년 12월 5일
See also Case and Space Sensitivity from the documentation.

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

추가 답변 (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