Navigation

Operators and Keywords

Function List:

C++ API

: namelengthmax ()

Return the MATLAB compatible maximum variable name length.

Octave is capable of storing strings up to 2^{31} - 1 in length. However for MATLAB compatibility all variable, function, and structure field names should be shorter than the length returned by namelengthmax. In particular, variables stored to a MATLAB file format (*.mat) will have their names truncated to this length.

Package: octave