classdef cClass1 < handle
    %CCLASS1 Summary of this class goes here
    %   Detailed explanation goes here
    
    properties
        state
        guiH
    end
    events
       stateChanged 
    end
    
    methods
        function obj = cClass1()
            obj.state = 1;
            notify(obj, 'stateChanged');
        end
        function load(obj)
            obj.state = 2;
            notify(obj, 'stateChanged')
        end
        function init(obj)
            obj.state = 3;
            notify(obj, 'stateChanged')
        end
        function connect(obj)
            obj.state = 4;
            notify(obj, 'stateChanged')
        end
    end
end

