I am trying to find a variable which appears in the workspace and is used as an input to a function in the code. How can I find how and where is it defined?
7 views (last 30 days)
Show older comments
I have got a code in which I cannot find where a variable is defined. It is used as an input in one of the functions but I cannot find where is it defined in the code.
Answers (1)
Star Strider
on 14 Nov 2018
If you are using the MATLAB Editor, in the ‘NAVIGATE’ tab in the top toolstrip, click on ‘Find’. Go to the beginning of your script, enter the name of the variable, and go from there.
0 Comments
See Also
Categories
Find more on Variables 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!