Matlab project loading hanging/not opening

28 次查看(过去 30 天)
I have set up a Matlab project in 2021b and had been using it without issue of a couple of weeks. After not touching it for a week, I can no longer open the .prj as Matlab shows the 'Loading project...' window with the circular widget turning but it won't open the project.
I tried removing any non Matlab related products, and removing all non Matlab official entries in the Path, but with the same result.
I also tried the following command: "C:\Program Files\MATLAB\R2021b\bin\matlab.exe" -softwareopengl
Matlab is not frozen, as it is still responsive to resizing windows & clicking on items in the toolbar, but commands can be entered in the Command Window just not processed.
In terms of resources, Matlab is just idling at 0.1% CPU usage and around 1gb of RAM but slowy rising (+5MB/minute).

回答(1 个)

Santosh Fatale
Santosh Fatale 2023-5-10
Hi Callum,
I understand that you are trying to open the MATLAB project file after a long time but encountering the issue as mentioned in the post.
I understand that you tried to remove non-default entries from MATLAB path. I would recommend you to use below commands to achieve the same through MATLAB command window. Note that following commands would restore the MATLAB search path to its default factory-installed state and remove the paths that you have previously added to the MATLAB search path. It is advisable to save a backup copy of the current MATLAB search path before running the commands.
>> rehash toolboxcache
>> restoredefaultpath
Kindly refer to following links to learn more about the commands used earlier and how to save a copy of the current search path
If persists, I would recommend reaching out to the MathWorks Technical Support team using the following link.
Kindly provide all details while creating a help ticket using the above link.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by