function varargout = info(h)

%   Copyright 2014-2019 The MathWorks, Inc.

nargoutchk( 0, 1 );
out_all = '';
num = numel( h );
for i = 1:num
    if num==1
        out = [ h( i ).getInfo(), newline ];
    else
        out = [ h( i ).getInfo( i ), newline ];
    end
    out_all = [ out_all, out ];  %#ok<AGROW>
    if nargout==0
        disp( out );
    end
end
if nargout==1
    varargout{ 1 } = out_all;
end
end
