title: Matlab code taking a long time to run
body: <p>I have a Matlab code (from a journal paper) and I'm trying to re-simulate their data. 
  I executed the code one week ago. I think the code is taking so long time to run. Matlab is still busy and taking 50% of my cpu.
  I was wondering if the process has ended with some errors somewhere in the code. My question is:
  When I see no errors, can I be sure that everything is fine with this running process? And I can wait until it is finished?
  Is there any way to check which part of code is being run now ( without stopping the execution)?
  Or I should stop the program and try something else?
  Actually I don't want to loose this 1 week and if you think everything is fine, I would wait until the code stops.
  (The authors of the paper didn't reply to my question and I don't know how long should it naturally take... They just mentioned it may take a long time to simulate the data).</p>