Rank: 1497 based on 94 downloads (last 30 days) and 1 file submitted
photo

Jeremy

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Jeremy
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Oct 2011 Progress monitor (progress bar) that works with parfor Displays the percentage of parfor iterations which have completed. Author: Jeremy parfor, progress bar, progressbar, status, progress, progress monitor 94 10
  • 4.72727
4.7 | 11 ratings
Comments and Ratings by Jeremy View all
Updated File Comments Rating
16 May 2014 Progress monitor (progress bar) that works with parfor Displays the percentage of parfor iterations which have completed. Author: Jeremy

Erik: Depends how slow each iteration of your loop is. If each iteration takes a while to run, this won't impact execution time. If each iteration is very fast, it could. You'll have to benchmark for more specifics, I've only used it on slow problems. If necessary, a quick fix to speed this up would be to change the path of parfor_progress.txt to be on a ramdisk.

15 Jun 2012 Conditionally colored line plot Plots (2D line) graph split into two colors above and below a given threshold value Author: Matt Tearle

It works well as described, but could be improved by handling multiple thresholds.

05 Mar 2012 Progress monitor (progress bar) that works with parfor Displays the percentage of parfor iterations which have completed. Author: Jeremy

Ashin,

I develop on Linux and I've never seen this problem. So it's likely that it is not a Linux problem in general, but it's specific to your particular setup. Maybe something to do with the character encoding on your system?

As a test, run this and see what it outputs:

disp(['aaa', char(8)])

The output should be just aa, because char(8) is a backspace. This is the technique I used in parfor_progress to delete the previous line, so maybe the backspace isn't working on your Linux machine for some reason?

Or does anyone know of a more universally portable way of doing this?

11 Oct 2010 AREA3 Filled area plot in 3d. Author: Dirk Heber

Change break; to return; on line 95 and it seems to still work fine on recent versions of MATLAB.

Comments and Ratings on Jeremy's Files View all
Updated File Comment by Comments Rating
28 May 2014 Progress monitor (progress bar) that works with parfor Displays the percentage of parfor iterations which have completed. Author: Jeremy James

16 May 2014 Progress monitor (progress bar) that works with parfor Displays the percentage of parfor iterations which have completed. Author: Jeremy Jeremy

Erik: Depends how slow each iteration of your loop is. If each iteration takes a while to run, this won't impact execution time. If each iteration is very fast, it could. You'll have to benchmark for more specifics, I've only used it on slow problems. If necessary, a quick fix to speed this up would be to change the path of parfor_progress.txt to be on a ramdisk.

15 May 2014 Progress monitor (progress bar) that works with parfor Displays the percentage of parfor iterations which have completed. Author: Jeremy Erik

Nice work. Just wondering, what impact does this have on the execution speed of parfor?

14 Oct 2013 Progress monitor (progress bar) that works with parfor Displays the percentage of parfor iterations which have completed. Author: Jeremy Naseri, Hassan

06 Oct 2013 Progress monitor (progress bar) that works with parfor Displays the percentage of parfor iterations which have completed. Author: Jeremy Coombs, Jesse

Would it be possible to get a version that instead prints the %complete to a txt file for use in monitoring jobs on remote/server pc's?

Contact us