필터 지우기
필터 지우기

How to open variables in command line?

조회 수: 10 (최근 30일)
Christopher
Christopher 2014년 3월 10일
답변: prerna kaul 2014년 3월 21일
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.

채택된 답변

Chandrasekhar
Chandrasekhar 2014년 3월 10일
use the command
openvar(variablename)
eg: if variable name is var then enter the command
openvar('var')

추가 답변 (2개)

David Sanchez
David Sanchez 2014년 3월 10일
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
Christopher
Christopher 2014년 3월 10일
편집: Christopher 2014년 3월 10일
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.

댓글을 달려면 로그인하십시오.


prerna kaul
prerna kaul 2014년 3월 21일
just double click on variable name in workspace

카테고리

Help CenterFile Exchange에서 Tables에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by