Variables editor shows only string, no editing possibility - how to fix?

조회 수: 4(최근 30일)
Yaroslav 2017년 1월 23일
댓글: Walter Roberson 2017년 1월 27일
I'm using matlab on our HPC cluster under Linux. When I try to open the variables editor (either with openvar or doublecklicking the variable), a window opens that shows a string with the variable contents, but instead of the typical excel-like view it's just the textual representation of the variable, just the same as if you type the variable name in the prompt and press enter. There is no way to edit the variable.
How can I change to the usual editing mode?

채택된 답변

Chirag Parekh
Chirag Parekh 2017년 1월 27일
Try restoring the default path.
>> restoredefaultpath
If the issue is resolved, save the path. 'savepath' will overwrite the pathdef.m (>> which -all pathdef.m) Make sure to take back up of the file.
>> savepath

추가 답변(1개)

Yaroslav 2017년 1월 27일
Wow! That worked! Thank you! But what has the path to do with the variables viewer?
  댓글 수: 1
Walter Roberson
Walter Roberson 2017년 1월 27일
The viewer code might rely on a routine that you accidentally overloaded.

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

Community Treasure Hunt

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

Start Hunting!

Translated by