MATLAB Function Reference Previous page   Next Page
namelengthmax

Return maximum identifier length

Syntax

Description

len = namelengthmax returns the maximum length allowed for MATLAB identifiers. MATLAB identifiers are

Rather than hard-coding a specific maximum name length into your programs, use the namelengthmax function. This saves you the trouble of having to update these limits should the identifier length change in some future MATLAB release.

Examples

Call namelengthmax to get the maximum identifier length:

See Also

isvarname, genvarname


Previous page  munlock NaN Next page

© 1994-2005 The MathWorks, Inc.