Filter löschen
Filter löschen

How to open variables in command line?

10 Ansichten (letzte 30 Tage)
Christopher
Christopher am 10 Mär. 2014
Beantwortet: prerna kaul am 21 Mär. 2014
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.

Akzeptierte Antwort

Chandrasekhar
Chandrasekhar am 10 Mär. 2014
use the command
openvar(variablename)
eg: if variable name is var then enter the command
openvar('var')

Weitere Antworten (2)

David Sanchez
David Sanchez am 10 Mär. 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
  1 Kommentar
Christopher
Christopher am 10 Mär. 2014
Bearbeitet: Christopher am 10 Mär. 2014
I still don't see how to open a variable. I don't want to list it in the command window, I want to open the variable and view its contents as a matrix (if it is a scalar/vector/matrix).
i.e. open the variable in a new window with the spreadsheet style viewer.

Melden Sie sich an, um zu kommentieren.


prerna kaul
prerna kaul am 21 Mär. 2014
just double click on variable name in workspace

Kategorien

Mehr zu Tables finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by