Display variables in the Workspace from script

1 view (last 30 days)
Suppose I have a variable
x=1;
I want to have a script that displays this variable in the workspace (see attached.) Please advise.

Accepted Answer

Walter Roberson
Walter Roberson on 1 May 2018
openvar('x')
  2 Comments
Walter Roberson
Walter Roberson on 1 May 2018
When I look at the code, I do not see any obvious way of closing a variable editor using a program.

Sign in to comment.

More Answers (0)

Categories

Find more on Environment and Settings 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!