Easily locate and print properties of all objects of a certain type within other objects or structs.


Updated 19 Nov 2012

View License

This little tool iteratively goes through the fields/properties of a struct/class and searches for instances of a specified class.
All matches are collected and displayed using my other submission PrintTable.

It is also possible to directly display specified properties of all found instances in the result table and obtain the locations of the found instances

Cite As

Daniel Wirtz (2023). FindInstance (, MATLAB Central File Exchange. Retrieved .

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

Inspired by: Printing a formatted table

Inspired: KerMor/matlabtools

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

- Robustness improvements
- Optional returning locations of found instances