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?

조회 수: 1 (최근 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
Fangjun Jiang 2024년 7월 24일
Yes. Adding a "find" capability in workspace editor and variable editor would be nice.
dpb
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 CenterFile Exchange에서 Structures에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by