How to open variables in command line?
27 views (last 30 days)
Show older comments
Is there a function that can be typed into the command window to open a variable listed in the workspace? I have many hundreds of variables generated in one of my codes and finding individual variables is a huge time waster.
0 Comments
Accepted Answer
Chandrasekhar
on 10 Mar 2014
use the command
openvar(variablename)
eg: if variable name is var then enter the command
openvar('var')
0 Comments
More Answers (2)
David Sanchez
on 10 Mar 2014
You can sue who:
To present all the variables:
who
To present variables whose name start by H:
who H*
To present variables ending by 1:
who *1
See Also
Categories
Find more on Get Started with MATLAB 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!