GavriYashar / Matlab-Editor-Plugin

Extends features for the matlab editor, Bookmarks, FileStructure, Clipboard stack
MIT License
74 stars 12 forks source link

Class Programming: Getter/Setter/Constructor #105

Open GavriYashar opened 6 years ago

GavriYashar commented 6 years ago

add context menu to filestructure (limit to properties). image

constructor is tricky this way (enable multiple selection? separate window?)


methods (Access = public) % generate if necessary
    function prop = getProp(obj)
        prop = obj.prop;
    end
    function setProp(obj, val)
        obj.prop = val;
    end
end