File Exchange

image thumbnail

explorestruct 1.2

version (297 KB) by Luke Plausin
MATLAB Utility for exploring structures and plotting its fields. Fixed for R2012a.


Updated 03 Aug 2015

View License

(Based on explorestruct 1.1 by Hassan Lahdili)
ExploreStruct v.1.2
MATLAB Utility for exploring structures and plotting their fields.
This GUI is an updated and enhanced version of the StructBrowser utility submitted to MATLAB Central in May 2003. It comes with new interface and an enhanced display. It uses Microsoft TreeView control to display and explore any kind of MATLAB structures. The CRC ExploreStruct was designed to expose the contents of the array struct to any depth and plot any of the components. This tool is very useful for programmers using structures in their code.

Fixed for version R2012a. I uploaded my version with the fixes here as development on the original file seems to have stopped. It would be a shame if such a useful tool were to be depricated.

Cite As

Luke Plausin (2020). explorestruct 1.2 (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (7)

Commenting out line 94 and replacing line 103 with
if ev.isMetaDown
makes the script(explorestruct.m) work again
in MATLAB R2018b (64bit, Windows 10)

Sorry, not line 104, but line 103.

Error in explorestruct (line 94)
set(tmp,'UIContextMenu', cmenu);

Not working in MATLAB R2017b
"Error using movefile"
"Unknown error occurred."
Please advise, thanks

Seems not to be working in MATLAB R2017a

Error using uitreenode (line 148)
The syntax you entered for uitreenode was not recognized.

Error in explorestruct (line 29)


another question: do you apply for BSD or GNU licence? It says bsd on the top left of this page and GNU in the readme.


wefg xang



Fixed minor bug in 1.1 as suggested by Patrice Tscherrig

Fixed minor error in description

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: explorestruct