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

undo.m
if exist('a');
    if isempty(undovalue{1,currentwindow})==0;
        save_redo;
        undomatrix=undovalue{1,currentwindow};
        a=undomatrix{end,1};
        totaliterationscompleted=undomatrix{end,2};
        undomatrix=undomatrix(1:end-1,:);
        undovalue{1,currentwindow}=undomatrix;
    end;
end;

Contact us at files@mathworks.com