ViewStruct.m

Display the full structure/contents of a 'struct'

You are now following this Submission

This function displays the full structure/contents of a 'struct'; see the screenshot as a tiny example.
When a variable in the struct has only one value, this value is displayed; otherwise, only the dimensions are displayed.

Cite As

Jan de Wilde (2026). ViewStruct.m (https://in.mathworks.com/matlabcentral/fileexchange/47822-viewstruct-m), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Description changed.

1.0.0.0