Skip to content

struct_levels_to_print

miscellaneous · scripts/miscellaneous/struct_levels_to_print.m

STRUCT_LEVELS_TO_PRINT  Nested-struct display depth (Octave name).
  VAL = STRUCT_LEVELS_TO_PRINT()
  OLD = STRUCT_LEVELS_TO_PRINT(NEW)
  OLD = STRUCT_LEVELS_TO_PRINT(NEW, 'local')
  Forwards to __struct_levels_to_print__. MATLAB has no public
  struct_levels_to_print; portable code can limit nested display
  locally. Unmarked MATLAB-mode scripts that never call this name
  are unaffected.

  See also PRINT_STRUCT_ARRAY_CONTENTS, DISP.