Matlab Online Corruption with spawning variable "ans"

1 view (last 30 days)
Everytime I log on to a matlab online session the variable ans spawns in. This is the value of ans.
data =
com.mathworks.toolbox.distcomp.ui.desk.peer.SessionPeerModelManager@6b580b88
I can't execute anything in the command window and I can't run programs. It will just return another command line. Also, I have tried deleting the variable but that doesn't fix the issue of running programs. Also I am not sure about the release since I can't type ver in the command line.
How do I fix this?
  1 Comment
Shaohua Song
Shaohua Song on 12 Apr 2022
Hi,have you solved the problem? I had the same problem that I couldn't find the "data". Thanks in advance!

Sign in to comment.

Answers (1)

Himanshu
Himanshu on 21 Dec 2023
Hey Shawn,
To my understanding, an ‘ansvariable spawns in everytime you log on a MATLAB online session.
This was an issue that previously existed, but multiple issues have been fixed in the latest releases of MATLAB online. Please try upgrading to the latest version of MATLAB to resolve the issue.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!