Is MATLAB case sensitive in all aspects?
Afficher commentaires plus anciens
t=0:1;
plot(sin(t),'linewidth',3)
If MATLAB is case-sensitive then how "linewidth" is accepted instead of "LineWidth"?
Réponse acceptée
Plus de réponses (1)
madhan ravi
le 3 Fév 2019
Modifié(e) : madhan ravi
le 3 Fév 2019
1 vote
Yes. Since it’s a character vector , inside the function there could be some functions internally used to match it but the commands for instance plot() etc etc are case sensitive. A detailed discussion can be found in https://stackoverflow.com/questions/2775263/how-to-deal-with-name-value-pairs-of-function-arguments-in-matlab .
Catégories
En savoir plus sur Simulink Design Optimization dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!