Code covered by the BSD License  

Highlights from
Digital Karma: State Graphing

image thumbnail
from Digital Karma: State Graphing by Aman Siddiqi
Evolutionary Simulation, Interaction Graph

redo.m
if exist ('a')
    if isempty(redovalue{1,currentwindow})==0;
        save_undo;        
        redomatrix=redovalue{1,currentwindow};
        a=redomatrix{end,1};
        totaliterationscompleted=redomatrix{end,2};
        redomatrix=redomatrix(1:end-1,:);
        redovalue{1,currentwindow}=redomatrix;
    end;
end;

Contact us at files@mathworks.com