FindInstance

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

You are now following this Submission

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 (2026). FindInstance (https://nl.mathworks.com/matlabcentral/fileexchange/37524-findinstance), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Printing a formatted table

Inspired: KerMor/matlabtools

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

- Robustness improvements
- Optional returning locations of found instances

1.0.0.0