BLOC - Automatic UML class diagram creator

by

 

Used to create a UML class diagram from a MATLAB object oriented program.

Block
classdef Block < handle
    properties
        Shape
        Name
        Sprclss
        Sbclss
        Level
        Prp
        Mthd
        Evnt
        Parent
        Child
    end
    methods
        function blk = Block (nam,super,sub,props,events,methds,lvl,shp,par,chi)
            blk.Name = nam;
            blk.Level = lvl;
            blk.Prp = props;
            blk.Mthd = methds;
            blk.Evnt = events;
            blk.Sprclss = super;
            blk.Sbclss = sub;
            blk.Shape = shp;
            blk.Parent = par;
            blk.Child = chi;
        end
    end
end

Contact us