MATLAB Variables not showing values but can see in workspace

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

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)

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.

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 1 Oct 2022

Commented:

Max
on 17 Jan 2023

Community Treasure Hunt

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

Start Hunting!