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/fecgsyn/subfunctions/data-generation/libs/fieldtrip/plotting/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.
%
% Use as
%  label = ft_senslabel(type)
%
% The input sensor array type can be any of the following
%  'ant128'
%  'biosemi64'
%  'biosemi128'
%  'biosemi256'
%  'bti148'
%  'bti148_planar'
%  'bti248'
%  'bti248_planar'
%  'btiref'
%  'ctf151'
%  'ctf151_planar'
%  'ctf275'
%  'ctf275_planar'
%  'ctfheadloc'
%  'ctfref'
%  'eeg1005'
%  'eeg1010'
%  'eeg1020'
%  'ext1020'
%  'egi32'
%  'egi64'
%  'egi128'
%  'egi256'
%  'neuromag122'
%  'neuromag122_planar'
%  'neuromag306'
%  'neuromag306_planar'
%  'itab28'
%  'itab153'
%  'itab153_planar'
%  'yokogawa9'
%  'yokogawa64'
%  'yokogawa64_planar'
%  'yokogawa160'
%  'yokogawa160_planar'
%  'yokogawa440'
%  'yokogawa440_planar'
%
% It is also possible to specify
%  'eeg'
%  'electrode'
% although for these an empty set of labels (i.e. {}) will be returned.
%
% See also FT_SENSTYPE, FT_CHANNELSELECTION

% Copyright (C) 2007-2013, Robert Oostenveld
% Copyright (C) 2008, Vladimir Litvak
%
% This file is part of FieldTrip, see http://www.fieldtriptoolbox.org
% for the documentation and details.
%
%  FieldTrip is free software: you can redistribute it and/or modify
%  it under the terms of the GNU General Public License as published by
%  the Free Software Foundation, either version 3 of the License, or
%  (at your option) any later version.
%
%  FieldTrip is distributed in the hope that it will be useful,
%  but WITHOUT ANY WARRANTY; without even the implied warranty of
%  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%  GNU General Public License for more details.
%
%  You should have received a copy of the GNU General Public License
%  along with FieldTrip. If not, see <http://www.gnu.org/licenses/>.
%
% $Id$

    
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.
%
% Use as
%  label = ft_senslabel(type)
%
% The input sensor array type can be any of the following
%  'ant128'
%  'biosemi64'
%  'biosemi128'
%  'biosemi256'
%  'bti148'
%  'bti148_planar'
%  'bti248'
%  'bti248_planar'
%  'btiref'
%  'ctf151'
%  'ctf151_planar'
%  'ctf275'
%  'ctf275_planar'
%  'ctfheadloc'
%  'ctfref'
%  'eeg1005'
%  'eeg1010'
%  'eeg1020'
%  'ext1020'
%  'egi32'
%  'egi64'
%  'egi128'
%  'egi256'
%  'neuromag122'
%  'neuromag122_planar'
%  'neuromag306'
%  'neuromag306_planar'
%  'itab28'
%  'itab153'
%  'itab153_planar'
%  'yokogawa9'
%  'yokogawa64'
%  'yokogawa64_planar'
%  'yokogawa160'
%  'yokogawa160_planar'
%  'yokogawa440'
%  'yokogawa440_planar'
%
% It is also possible to specify
%  'eeg'
%  'electrode'
% although for these an empty set of labels (i.e. {}) will be returned.
%
% See also FT_SENSTYPE, FT_CHANNELSELECTION

% Copyright (C) 2007-2013, Robert Oostenveld
% Copyright (C) 2008, Vladimir Litvak
%
% This file is part of FieldTrip, see http://www.fieldtriptoolbox.org
% for the documentation and details.
%
%  FieldTrip is free software: you can redistribute it and/or modify
%  it under the terms of the GNU General Public License as published by
%  the Free Software Foundation, either version 3 of the License, or
%  (at your option) any later version.
%
%  FieldTrip is distributed in the hope that it will be useful,
%  but WITHOUT ANY WARRANTY; without even the implied warranty of
%  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%  GNU General Public License for more details.
%
%  You should have received a copy of the GNU General Public License
%  along with FieldTrip. If not, see <http://www.gnu.org/licenses/>.
%
% $Id$

% these are for speeding up subsequent calls with the same input arguments
persistent eeg electrode ant128 btiref bti148 bti148_planar bti148_planar_combined bti248 bti248_planar bti248_planar_combined ctfref ctfheadloc ctf64 ctf151 ctf151_planar ctf151_planar_combined ctf275 ctf275_planar ctf275_planar_combined neuromag122 neuromag122_combined neuromag306 neuromag306_mag neuromag306_planar neuromag306_combined eeg1020 eeg1010 eeg1005 ext1020 biosemi64 biosemi128 biosemi256 egi32 egi64 egi128 egi256 itab28 itab153 itab153_planar itab153_planar_combined yokogawa9 yokogawa64 yokogawa64_planar yokogawa64_planar_combined yokogawa160 yokogawa160_planar yokogawa160_planar_combined yokogawa440 yokogawa440_planar yokogawa440_planar_combined
% these are for backward compatibility
persistent neuromag122alt neuromag122alt_combined neuromag306alt neuromag306alt_combined

if nargin<1
  % ensure that all input arguments are defined
  type = 'none';
end