Display variables in the Workspace from script

1 visualización (últimos 30 días)
alpedhuez
alpedhuez el 1 de Mayo de 2018
Comentada: Walter Roberson el 1 de Mayo de 2018
Suppose I have a variable
x=1;
I want to have a script that displays this variable in the workspace (see attached.) Please advise.

Respuesta aceptada

Walter Roberson
Walter Roberson el 1 de Mayo de 2018
openvar('x')
  2 comentarios
alpedhuez
alpedhuez el 1 de Mayo de 2018
How about closing it?
Walter Roberson
Walter Roberson el 1 de Mayo de 2018
When I look at the code, I do not see any obvious way of closing a variable editor using a program.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Environment and Settings 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