Variable names can contain upto how much number of characters in matlab last release version.?

2 visualizaciones (últimos 30 días)
Variable names can contain upto how much number of characters in matlab last release version.?

Respuestas (2)

KSSV
KSSV el 8 de Oct. de 2016
doc namelengthmax

Guillaume
Guillaume el 8 de Oct. de 2016
A variable name can have as many characters as you want, however matlab only uses the first namelengthmax characters to differentiate variables, so any character after that is ignored.
As far as I know namelengthmax returns 63 on all platforms and versions of matlab.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by