Function Reference
— Function File: namelengthmax ()

Returns 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 supplied by namelengthmax. In particular variables stored to a matlab file format will have their names truncated to this length.