Workspace empty after running script
33 次查看(过去 30 天)
显示 更早的评论
I teach a class with 30 students using MATLAB Online on identical computers all using Chrome, but I have one student whose workspace is always empty after running a script even though the script runs without errors and produces the correct output files. How is this scenario possible.? She has repeatedly closed and reopened MATLAB Online and it happens every week.
2 个评论
Walter Roberson
2022-9-28
Is it specific to that script or is it all scripts? If she puts a breakpoint at the last line is the workspace already empty and does it disappear immediately upon execution of the last line, or upon return from the script?
Is the content available by whos()? Is it just the variable browser that is affected?
Is there something odd about their username or the name of their directory, such as having an accented character or space in the folder name?
采纳的回答
Vignesh Murugavel
2022-10-3
It is my understanding that your student is using MATLAB Online on a chrome browser and while running scripts, the Workspace remains empty.
You can try different troubleshooting steps:
- Clear the browser cache and then reload MATLAB Online.
- Try another browser to check if the Workspace stays empty there as well.
1 个评论
Jonathan
2023-2-20
Thank you so much. I was able to resolve the issue by clearing the browser cache.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!