How do I search my workspace variables?

34 visualizzazioni (ultimi 30 giorni)
alex george
alex george il 17 Gen 2018
Commentato: Greg il 18 Gen 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 Commenti
alex george
alex george il 17 Gen 2018
Thanks for the help Stephen!
Greg
Greg il 18 Gen 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Scope Variables and Generate Names in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by