Freezes when running commands

28 views (last 30 days)
Xiaoting Sun
Xiaoting Sun on 25 Jul 2019
Commented: Nipun on 16 Jun 2022
Update: Needed to be able to use Matlab so ended up uninstalling and reinstalling. I don't know what the issue was but it does what I need.
I'm using R2018a on OSX 10.14. Yesterday I was able to use/edit/run a script that grabbed data from a network drive without any issues. The network drive remained connected overnight. Today I attempted to run the same script again but Matlab froze and I was unable to break using Ctrl + C. After restarting, Matlab opened to a directory in the network drive and I was able to navigate using the Address Bar but not through the Current Folder window. Tools from the Plots and Apps menu bars seemed to not be loading. I was also able to type in the open script in Editor, close Editor tabs, and open new tabs, but couldn't open existing scripts. Simple commands through the command window (e.g. just typing the number 2 and hitting enter) went on forever and didn't respond to Ctrl + C.
After reading some posts about network issues, I force closed Matlab and disconnected the network drive, then restarted Matlab and got the usual "Warning: Name is nonexistent or not a directory". Same problems as above. After another restart, I didn't get any warnings but still had the same problems. Restarted computer and threw in some system updates as well. Still having the same issues. It also doesn't respond when I click "Set Path" or "Preferences" in the Home menu bar.
Trying to exit out right after startup gives me the "An operation is in progress" window. Ctrl + Q doesn't do anything. It hasn't given me any actual errors, it just doesn't respond.
How do I fix this?
  2 Comments
Rebecca Culver
Rebecca Culver on 30 Sep 2020
Edited: Rebecca Culver on 30 Sep 2020
I had the exact same issue today. Obviously a long time ago, but do you by chance remember how this issue was resolved?
Nipun
Nipun on 16 Jun 2022
Hi, these issues can occur if sone commands have been stopped abruptly causing the network drive listed as unrecognised. While you may expect fewer such issues in the new versions (with the R2022 release), here is a MATLAB answer that might help: https://in.mathworks.com/matlabcentral/answers/97966-why-am-i-unable-to-browse-to-a-mapped-network-drive-when-activating-on-windows-7
Cheers!
Nipun

Sign in to comment.

Answers (0)

Categories

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

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!