MATLAB Answers

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

11 views (last 30 days)
Hi,
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?

Accepted Answer

Chirag Parekh
Chirag Parekh on 27 Jan 2017
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

More Answers (1)

Yaroslav
Yaroslav on 27 Jan 2017
Wow! That worked! Thank you! But what has the path to do with the variables viewer?

Community Treasure Hunt

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

Start Hunting!