Freezes when running commands

26 visualizaciones (últimos 30 días)
Xiaoting Sun
Xiaoting Sun el 25 de Jul. de 2019
Comentada: Nipun el 16 de Jun. de 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 comentarios
Rebecca Culver
Rebecca Culver el 30 de Sept. de 2020
Editada: Rebecca Culver el 30 de Sept. de 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 el 16 de Jun. de 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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by