MATLAB is running really slow.
Mostrar comentarios más antiguos
Hello everyone my MATLAB is running really really slow. I have a late 2011 Macbook Pro 13' with OSX 10.9.2 with MATLAB R2012a. Every time I try to run a script I get the little blue ball and after a couple of seconds my laptop fan starts to hum like it's really struggling with trying to process the command. Any suggestions on how to fix and/or improve this problem.
5 comentarios
per isakson
el 17 de Abr. de 2014
- "a script" is that a specific script?
- "hum" is that fan or disk?
Luis
el 17 de Abr. de 2014
per isakson
el 17 de Abr. de 2014
Editada: per isakson
el 17 de Abr. de 2014
Thus "really really slow" applies to running your scripts. (The bench result isn't that bad.)
"really really slow" compared to what? Are your expectations realistic?
Did you try to analyze the execution with the function, profile ? Maybe your script can be modified to run much faster.
Luis
el 18 de Abr. de 2014
per isakson
el 18 de Abr. de 2014
Since I know nothing about your scripts I cannot guess what the problem is.
profile will hopefully spot the lines of code which takes so long.
Respuestas (2)
per isakson
el 13 de Abr. de 2014
Did you run
bench
? How does it rank your system?
Do you have memory enough for your test?
8 comentarios
José-Luis
el 14 de Abr. de 2014
Please put your files in a local folder and try again. IO might be a bottleneck.
Luis
el 14 de Abr. de 2014
José-Luis
el 14 de Abr. de 2014
Yes, please try putting them in your hard drive and run from there.
Luis
el 14 de Abr. de 2014
per isakson
el 17 de Abr. de 2014
The bench result looks plausible to me.
Luis
el 17 de Abr. de 2014
per isakson
el 18 de Abr. de 2014
I know little about MacBook. I googled. Speed a third of that of the top machine seems plausible.
However, the bench result has nothing to do with the problem you encounter.
Wonsang You
el 17 de Abr. de 2014
0 votos
If you had a parallel computing toolbox as well as its compatible hardware (either CPUs or GPUs), you could be helpful to accelerate the speed.
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
