Is MATLAB case-sensitive?
16 views (last 30 days)
Show older comments
MathWorks Support Team
on 26 Jan 2010
Commented: Adam Danz
on 5 Dec 2022
I would like to know if MATLAB is completely case-sensitive.
Accepted Answer
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.
1 Comment
More Answers (0)
See Also
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!