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: read_polhemus_fil.m
    path of file: ./repos/PsPM/src/Import/fieldtrip/fileio/private
    
    the code of the file until where you have to start completion: function [fid, sens, label] = read_polhemus_fil(Fname_pol,skip)

% Reads Polhemus files:
%   either sensor file or headshape file or both
%
% FORMAT [fid, sens, label] = read_polhemus_fil(Fname_pol,skip)
% Input:
% Fname_pol - Polhemus ASCII file containing sensor locations (cm)
%             (headshape can also be considered here instead of sensors)
% skip      - first channels to skip
%
% Output:
% fid       - fiducial         locations (mm) in rows
% sens      - sensor/headshape locations (mm) in rows
% label - labels of the fiducials
%
% IMPORTANT: Note that Polhemus data files should be -ASCII files with
% extension .pol
% It is assumed that the .pol file contains the location (cm) of fiducials
% (sampled twice), possibly followed by some additional named points and 
% then unnamed location of the sensors.  In some instances the first

    
function [fid, sens, label] = read_polhemus_fil(Fname_pol,skip)

% Reads Polhemus files:
%   either sensor file or headshape file or both
%
% FORMAT [fid, sens, label] = read_polhemus_fil(Fname_pol,skip)
% Input:
% Fname_pol - Polhemus ASCII file containing sensor locations (cm)
%             (headshape can also be considered here instead of sensors)
% skip      - first channels to skip
%
% Output:
% fid       - fiducial         locations (mm) in rows
% sens      - sensor/headshape locations (mm) in rows
% label - labels of the fiducials
%
% IMPORTANT: Note that Polhemus data files should be -ASCII files with
% extension .pol
% It is assumed that the .pol file contains the location (cm) of fiducials
% (sampled twice), possibly followed by some additional named points and 
% then unnamed location of the sensors.  In some instances the first
% few channel locations may pertain to reference channels; the skip 
% variable allows these to be skipped if necessary. The fiducial locations
% are flaged with the strings 'NZ','LE' and 'RE'; indicating the Nasion,
% left and right eare respectively.
% _________________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging

% Jeremie Mattout
% $Id: read_polhemus_fil.m 395 2016-12-19 13:51:00Z tmoser $

% checks and assigments
%--------------------------------------------------------------------------
try, skip;    catch, skip    = 0; end