ViewStruct.m
Version 1.1.0.0 (3.68 KB) by
Jan de Wilde
Display the full structure/contents of a 'struct'
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 .
MATLAB Release Compatibility
Created with
R2013b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Structures in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
