MATLAB Variables not showing values but can see in workspace

58 views (last 30 days)
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 Comment
Max
Max on 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).

Sign in to comment.

Answers (1)

Isacc Alpala
Isacc Alpala on 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.

Community Treasure Hunt

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

Start Hunting!