How do I search my workspace variables?

34 views (last 30 days)
alex george
alex george on 17 Jan 2018
Commented: Greg on 18 Jan 2018
I have a large number of workspace variables. How can I search them for the ones I need? E.g. find my text "startingSpeed"
  8 Comments
alex george
alex george on 17 Jan 2018
Thanks for the help Stephen!
Greg
Greg on 18 Jan 2018
Assuming your end goal is to view them in the variable editor:
openvar('startingSpeed');
This won't help you find them (tab completion doesn't work inside the single-quote), but it saves scrolling the workspace and double-clicking. Also,
openvar('someVarThatDoesNotExist')
simply creates a tab in the variable editor with one short message: The variable someVarThatDoesNotExist does not exist.

Sign in to comment.

Answers (0)

Categories

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

Tags

Products

Community Treasure Hunt

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

Start Hunting!