How do I search my workspace variables?
34 views (last 30 days)
Show older comments
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
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.
Answers (0)
See Also
Categories
Find more on Scope Variables and Generate Names in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!