function varargout = info(h)

%   Copyright 2014 The MathWorks, Inc.

nargoutchk( 0, 1 );
out_all = '';
nl = coder.make.internal.Printer.getNewLine();
for i = 1:numel( h )
    out = [ h( i ).getInfo(), nl ];
    out_all = [ out_all, out ];  %#ok<AGROW>
    if nargout==0
        disp( out );
    end
end
if nargout==1
    varargout{ 1 } = out_all;
end
end
