Hi,
Version Matlab 2017a - I suddenly do not have access in the Variables tab, to cells contents when I double click on it. All it shows me is the size of the cell as plain text, with no link or access to the cell itself. When I double-click it, it shows:
val =
{1×15 cell} {1×15 cell}
Contents of matrices is shown as before, it's only cell arrays that are not displayed in the Variables tab. I will appreciate your help a lot!
Shlomit

6 commentaires

Walter Roberson
Walter Roberson le 7 Mai 2017
Question: do you happen to be using Mac? There have been some reports about the variables tab acting up on OS-X.
Shlomit Beker
Shlomit Beker le 8 Mai 2017
Thanks for replying - Yes, I am using Mac OS, Sierra 10.12.4. It was working as usual, until the variable tab stopped showing cell contents, with no apparent reason.
Wilson A N
Wilson A N le 9 Mai 2017
As I understand for cell arrays containing elements with large size it does show only the size. We need to double-click on it again to access the individual cell elements.
I was not able to reproduce the issue. Can you share the exact code which led to this error?
Shlomit Beker
Shlomit Beker le 9 Mai 2017
Modifié(e) : Walter Roberson le 9 Mai 2017
Thanks Wilson. This happens with any size of cell arrays. In the "Variables" tab, I'm able to see the sizes, but it appear as a text, without a link to the cells.
I'm sharing a code and screen shots.
Thank
Shlomit
example_cell = cell(1,3);
example_cell{1} = cell(1,2);
example_cell{2} = [1:10];
example_cell{3} = {'a';'b';'c'};
I am not able to replicate this issue on R2017a on Sierra. I have seen enough reports to be sure it is happening to some people, but it does not happen in my configuration.
As pure speculation, could I ask you to show the output of
getenv('LANG')
!printenv LANG; printenv LC_MESSAGES
Shlomit Beker
Shlomit Beker le 9 Mai 2017
Modifié(e) : Shlomit Beker le 9 Mai 2017
Yes, this is the output. ans =
'C'
en_US.UTF-8
end
I want to add that other glitches occur in the interface with the "Variables" tab, for example , the cell arrays are not updated automatically with every change, and I have to close the tab and reopen to see the updated content.

Connectez-vous pour commenter.

 Réponse acceptée

Wilson A N
Wilson A N le 10 Mai 2017

1 vote

I couldn't reproduce the issue at my end.
However, I feel that restoring the default path may fix the issue. Can you try executing the following commands on the MATLAB command line and check if the issue remains.
>> restoredefaultpath
>> rehash toolboxcache
>> savepath

1 commentaire

Shlomit Beker
Shlomit Beker le 11 Mai 2017
THANKS so much!! Works like magic. Thanks for helping on this.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by