%GETNAME Get dataset name
%
%   NAME = GETNAME(A,N)
%
% INPUT
%   A    Dataset
%   N    Number of characters in NAME (default: all)
%
% OUTPUT
%   NAME  Dataset name
%
% DESCRIPTION
% If N given, the return string has exactly N characters. This is done by
% truncation or by padding with blanks. This is useful for display purposes.
