Variables in workspace are not appearing in workspace window

4 views (last 30 days)
I've been having this issue where after running a .m file or a simulation in simulink, the variables are not appearing correctly in my workspace window. For example, if I run a script that says a=1; My workspace window will show nothing, but if I type a, I will see its value. Then if I run the script again it will appear, but with the value it had before.
Ex.
run script,
a=1;
the workspace appears empty
type a in the command window, it shows
a =
1
run script
a=2;
the workspace shows a as 1
type a in the command window, it shows
a =
2
Has anyone had a similar bug?

Answers (1)

Jacob Ayres-Thomson
Jacob Ayres-Thomson on 9 Nov 2019
Same bug - but no answer from mathworks?

Community Treasure Hunt

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

Start Hunting!