Constructors with single output

IDFCNS-3
TitleEvery constructor shall have exactly one output.
PriorityMandatory
DescriptionEvery constructor shall have exactly one output: an object of the class. A second constructor output is unusual, so will be unexpected for readers of the code.
RationaleConsistency

Avoid:

classdef Computer
    methods
        function [obj, out2] = Computer(in)
            obj.value = in;
            out2 = 2 * in;
        end
    end
end

Instead use:

classdef Computer
    methods
        function obj = Computer(in)
            obj.value = in;
        end
    end
end