Is MATLAB case sensitive in all aspects?
Ältere Kommentare anzeigen
t=0:1;
plot(sin(t),'linewidth',3)
If MATLAB is case-sensitive then how "linewidth" is accepted instead of "LineWidth"?
Akzeptierte Antwort
Weitere Antworten (1)
madhan ravi
am 3 Feb. 2019
Bearbeitet: madhan ravi
am 3 Feb. 2019
1 Stimme
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 .
Kategorien
Mehr zu Simulink Design Optimization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!