understand in which function the field is filled

2 views (last 30 days)
i try to use matlab debugging but I couldn't understand where the "ReportAggreg" field was created..
I have the main code that calls several functions which in turn call others... it's a bit of an elaborate code...
How can I understand in which function the field is filled?
Is there a procedure to search in the .m files of the matlab folder where that field is called? or if there is another valid

Accepted Answer

Matt J
Matt J on 1 Dec 2023
Edited: Matt J on 1 Dec 2023
If ReportAggreg is created literally with an assignment statement of the form
someStruct.ReportAggreg = something
it should be easy to find using the file search tool.

More Answers (0)


Find more on Scope Variables and Generate Names in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!