Is MATLAB case-sensitive?

24 views (last 30 days)
I would like to know if MATLAB is completely case-sensitive.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 14 Oct 2021
Edited: MathWorks Support Team on 15 Oct 2021
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.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

No release entered yet.

Community Treasure Hunt

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

Start Hunting!