You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: ft_senslabel.m
    path of file: ./repos/spm12/external/fieldtrip/inverse/private
    
    the code of the file until where you have to start completion: function label = ft_senslabel(type, varargin)

% FT_SENSLABEL returns a list of predefined sensor labels given the
% EEG or MEG system type which can be used to detect the type of data.
%
% Us
    
function calls
  eval(sprintf('%s = label;', type));
  clear label
  
end

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% prepare the output
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

switch output
  case 'normal'
    % return labels as 2*Nx1 cell-array for planar systems or 3*Nx1 for neuromag306
    % return labels as   Nx1 cell-array for non-planar systems
    label = eval(type);
    
  case 'planarcombined'
    % return labels as Nx3 cell-array for the planar channels, 3rd column contains the combination
    planar    = eval(type);
    combined  = eval([type '_combined']);
    label     = [planar(:,1:2) combined]; % magnetometers are in the 3rd column for neuromag306
    
  otherwise
    ft_error('unsupported output "%s"', output);
    
end