MATLAB Variables not showing values but can see in workspace

58 次查看(过去 30 天)
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 个评论
Max
Max 2023-1-17
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).

请先登录,再进行评论。

回答(1 个)

Isacc Alpala
Isacc Alpala 2022-10-2
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.

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by