Why does my m file open too slowly?
18 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I have a problem with opening m file.
After I change my cpu and gpu, m file opening takes about a minute.
I also reinstalled the matlab, but it didn't solve anything.
Could it be a problem to just use Window without activation?
Please help
4 Kommentare
AndresVar
am 21 Feb. 2022
@seokwon OH I am sorry idk what the problem is but I am curious if you can answer these questions:
1) how do you open the file? Is matlab already open? Is it via "Open" button or clicking in the "current folder". Or is matlab closed and you double click the file. What about if you type "edit <filename>" in command window.
2) what about if the file is renamed with different extension like .txt or what about .mlx files (also slow?)
3) If you open the .m file with notepad or vscode is it fast? or just as slow
4) How big is the .m file
5) what version of matlab
Antworten (1)
Jan
am 21 Feb. 2022
Do you have a folder in Matlab's PATH, which is stored on a network drive or e.g. Dropbox? Then Matlab might scan the remote folder during opening the file. Accoring to the network speed, this can take a lot of time.
Try to reset the PATH temporarily.
Siehe auch
Kategorien
Mehr zu Search Path finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!