MATLAB Variables not showing values but can see in workspace

58 vues (au cours des 30 derniers jours)
Omor Khan
Omor Khan le 1 Oct 2022
Commenté : Max le 17 Jan 2023
Hello,
I am trying to look at the exact values of my K array. I used to be able to just double click on a variable within workspace and it opens a new tab then you can see each value of an array, but I can't seem to figure out how to see them. Not sure what happened. I just changed from 2021 to 2022
  1 commentaire
Max
Max le 17 Jan 2023
I am having the exact same problem. When I double click on a variable the "variable window" pops up with the same code as my script (see picture).

Connectez-vous pour commenter.

Réponses (1)

Isacc Alpala
Isacc Alpala le 2 Oct 2022
Mmh. Honestly idk what happend with your MATLAB. But maybe it helps:
Check if your MATLAB needs to be updated.
Try opening your variable with openvar function.
myVariable = 1:100;
openvar myVariable
% openvar("myVariable")
But, if any of these options work, try reinstalling MATLAB.

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by