classdef dog
    properties
        name
        age
    end
    methods
        function obj=dog(name, age)
            obj.name = name;
            obj.age = age;
        end
    end
end