Delay/Pause After command in R2012a
Mostra commenti meno recenti
I use MATLAB on Linux and recently installed it on a Windows 7 machine (R2012a). On the windows machine I am having an issue where it there is a long pause (10-30seconds) after I issue a command in the command window. Any command: 1+1, ls, etc. This happens whenever I don't use MATLAB for approximately 30seconds or so and come back and then enter a command. If I enter commands in relatively quick succession, there is no pause. I tried a complete reinstall and I get the same behavior. Ideas?
Risposte (3)
John Petersen
il 31 Lug 2012
Modificato: John Petersen
il 31 Lug 2012
0 voti
If you have low memory due to memory hogging applications or you have very little RAM there could be a delay when you switch applications if Win7 has to swap RAM space with the hard drive. If this is your problem, add more usable memory or reduce the number of apps running when Matlab is up.
Brad Humphreys
il 31 Lug 2012
0 voti
9 Commenti
Sean de Wolski
il 31 Lug 2012
Yup, probably a Java issue. What version of Java are you running?
ver
Will contain the java info.
Brad Humphreys
il 31 Lug 2012
Sean de Wolski
il 31 Lug 2012
That looks right. What do you have for your Java Heap Space setting? File>Preferences>General>Java Heap Memory.
You may want to try increasing this, applying changes, and restarting MATLAB. It's an easy thing to try blindly.
Brad Humphreys
il 31 Lug 2012
Brad Humphreys
il 31 Lug 2012
Sean de Wolski
il 31 Lug 2012
I would reset this then. Does it speed up if you close the workspace/current director/editor?
Brad Humphreys
il 31 Lug 2012
Sean de Wolski
il 31 Lug 2012
How many files are in your current directory? If there are many and you navigate to a folder without many, does it still occur? Once you get it working quickly, does:
rehash
take awhile?
Brad Humphreys
il 31 Lug 2012
Brad Humphreys
il 31 Lug 2012
0 voti
Categorie
Scopri di più su Startup and Shutdown in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!