[Help] Matlab executes the program very slowly (Slow execution)

1 view (last 30 days)
I am working on code on matlab which basically consist of for loops and matrices values i.e. image processing but it takes around 2 3 minutes to execute the code while the same code runs faster on my other laptop, please help
  5 Comments
Adam
Adam on 21 Mar 2017
That definitely looks suspiciously like for loops. The fact that almost no function is registering at all as significant apart from 'trial' for which 'Self Time' is basically the entire time of the program suggests that you are doing something extremely slow with code that has nothing to do with functions of any other kind.
akash bais
akash bais on 21 Mar 2017
the same program gets executed on my other laptop within no time its just with my pc that i am facing issues

Sign in to comment.

Answers (1)

ES
ES on 21 Mar 2017
Edited: Jan on 21 Mar 2017
  11 Comments
akash bais
akash bais on 22 Mar 2017
the code part which it is showing is not in my code i mean they are some internal functions
Adam
Adam on 22 Mar 2017
We still can't help in any way if we have no more information than that something inside 'trail' is very slow.

Sign in to comment.

Categories

Find more on MATLAB Compiler 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!