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?
31 次查看(过去 30 天)
显示 更早的评论
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 个评论
Fangjun Jiang
2024-7-24
Yes. Adding a "find" capability in workspace editor and variable editor would be nice.
dpb
2024-7-24
@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...
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Structures 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!