MATLAB is running really slow.

10 views (last 30 days)
Luis
Luis on 13 Apr 2014
Commented: per isakson on 18 Apr 2014
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 Comments
Luis
Luis on 18 Apr 2014
yes to the scripts they use to take about no more then a second or so like the results and/or a graph would just pop up and now its like it stalls take seconds to calculate and sometimes it doesn't complete the task and oh I thought that the results from the bench that I should be up higher on the graph. and no I have not tried to analyze the execution with the function profile I'll see what that tells me
per isakson
per isakson on 18 Apr 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.

Sign in to comment.

Answers (2)

per isakson
per isakson on 13 Apr 2014
Did you run
bench
? How does it rank your system?
Do you have memory enough for your test?
  8 Comments
Luis
Luis on 17 Apr 2014
could you elaborate?
per isakson
per isakson on 18 Apr 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.

Sign in to comment.


Wonsang You
Wonsang You on 17 Apr 2014
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.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!