FindInstance

Easily locate and print properties of all objects of a certain type within other objects or structs.
260 Downloads
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 (2024). FindInstance (https://www.mathworks.com/matlabcentral/fileexchange/37524-findinstance), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Graphics Object Programming in Help Center and MATLAB Answers
Acknowledgements

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
1.1.0.0

- Robustness improvements
- Optional returning locations of found instances

1.0.0.0