How do I search my workspace variables?

36 Ansichten (letzte 30 Tage)
alex george
alex george am 17 Jan. 2018
Kommentiert: Greg am 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 Kommentare
alex george
alex george am 17 Jan. 2018
Thanks for the help Stephen!
Greg
Greg am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Scope Variables and Generate Names finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by