| Contents | Index |
len = namelengthmax
len = namelengthmax returns the maximum length allowed for MATLAB identifiers. MATLAB identifiers are
Variable names
Function and subfunction names
Structure fieldnames
Object names
File names with a .m, .mex, or .mdl extension
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.
Call namelengthmax to get the maximum identifier length:
maxid = namelengthmax
maxid =
63
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |