Is MATLAB case-sensitive?

21 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 26 Jan 2010
Commenté : Adam Danz le 5 Déc 2022
I would like to know if MATLAB is completely case-sensitive.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 14 Oct 2021
Modifié(e) : MathWorks Support Team le 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 commentaire
Adam Danz
Adam Danz le 5 Déc 2022
See also Case and Space Sensitivity from the documentation.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits


Version

Aucune version saisie pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by