How do I search my workspace variables?

34 visualizaciones (últimos 30 días)
alex george
alex george el 17 de En. de 2018
Comentada: Greg el 18 de En. de 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 comentarios
alex george
alex george el 17 de En. de 2018
Thanks for the help Stephen!
Greg
Greg el 18 de En. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Scope Variables and Generate Names en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by