Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
26 Feb 2009 waitbar with time estimation Estimated remaining, elapsed time, and percentage complete. Author: Andrew Serrano, Arturo

12 Jan 2009 Multicore - Parallel processing on multiple cores This package realizes parallel processing on multiple cores/machines. Author: Markus Buehren Serrano, Arturo

07 Jan 2009 Progress Meter for Execution of Tasks/Loops Include simple calls to PROGMETER in your code to display its progress in the command window. Author: Ameya Deoras Serrano, Arturo

07 Jan 2009 Multicore - Parallel processing on multiple cores This package realizes parallel processing on multiple cores/machines. Author: Markus Buehren Serrano, Arturo

I got the same problem as Rohaly. When master ends the computation, and there is a slave still working, the master computes the remaining job again, yielding an extra iteration.
The solution is to set MAXMASTEREVALUATIONS, with all its drawbacks, since i understand that this isn't a bug rather than a problem not knowing if the slave got interrupted.

BTW, it works like a charm.

19 Dec 2008 getscreen Replacement for getframe for multiple-monitor systems. Also takes screenshots of non-MATLAB windows. Author: matt dash Serrano, Arturo

Thanks for the code. I found it just when a I needed it.
Just a point. I had to add
>> pause (0.01);
after drawnow.

03 Dec 2008 subplotrc extension of subplot, subplotrc(m,n,r,c) put suplot in row r, column c of figure. Author: Andew Diamond Serrano, Arturo

26 Nov 2008 compileAndRun Easily compile and run a matlab function for significant speed improvements. Author: Matt Dunham Serrano, Arturo

Thanks for the code. Very useful.

I like to use constant inputs, but these must be dropped when executing the mex file. I think that this can make the trick:

varargin(cellfun (@(x)isa(x, 'emlcoder.Example') && strcmp(x.Type, 'CONST'), varargin)) = [];

This gives an error when an old mex version exists. The catch block can be completed with

if exist(fname) == 3
    warning('compileAndRun:oldMex', '\n\nusing an old compiled version\n\n');
    varargin(cellfun... );
end

(I prefer to throw an error rather than a warning. I've not tested the catch block)

Cheers.

26 Nov 2008 compileAndRun Easily compile and run a matlab function for significant speed improvements. Author: Matt Dunham Serrano, Arturo

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com