Is MATLAB case sensitive in all aspects?
Mostrar comentarios más antiguos
t=0:1;
plot(sin(t),'linewidth',3)
If MATLAB is case-sensitive then how "linewidth" is accepted instead of "LineWidth"?
Respuesta aceptada
Más respuestas (1)
madhan ravi
el 3 de Feb. de 2019
Editada: madhan ravi
el 3 de Feb. de 2019
1 voto
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 .
Categorías
Más información sobre Simulink Design Optimization en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!