A struct in the workspace window consists of n (say 1000 or more) different variable names. How to quickly look for a variable name without any code?
10 views (last 30 days)
Show older comments
I am having a struct data type that consists of 2000 different names of places with their avg temperatures . When I open the struct variable I get a huge list. How can I quickly locate the variable and read its values without scrolling down to every variable. I don't see any find option in the window. One may say I can code it. Yes, I can do that but I am looking for alternative quick ways so that I don't need to write the code to find it.
11 Comments
Fangjun Jiang
on 24 Jul 2024
Yes. Adding a "find" capability in workspace editor and variable editor would be nice.
dpb
on 24 Jul 2024
@Srujeeth B, how about attaching a short section of the struct so folks could poke at it and see if any better ideas are thus engendered? Seeing the actual structure might lead to some other ideas that just talking about it in general didn't prompt...
Answers (0)
See Also
Categories
Find more on Structures 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!