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: cat_surf_vol2surf.m
    path of file: ./repos/cat12
    
    the code of the file until where you have to start completion: function out = cat_surf_vol2surf(varargin)
% Project volume data to a surface and create a texture file.
% ______________________________________________________________________
% P = cat_surf_vol2surf(job)
% 
% job.data_mesh_lh      .. lh mesh files
% job.data_vol          .. volume for mapping
% job.verb              .. verbose (default: 1)
% job.gifti             .. output gifti (default: 0)
% job.interp            .. interpolation type (default 'linear')
%                          ['cubic'|'nearest_neighbour'|'cubic']

    
function out = cat_surf_vol2surf(varargin)
% Project volume data to a surface and create a texture file.
% ______________________________________________________________________
% P = cat_surf_vol2surf(job)
% 
% job.data_mesh_lh      .. lh mesh files
% job.data_vol          .. volume for mapping
% job.verb              .. verbose (default: 1)
% job.gifti             .. output gifti (default: 0)
% job.interp            .. interpolation type (default 'linear')
%                          ['cubic'|'nearest_neighbour'|'cubic']
% job.mapping           .. mapping type 
%  .abs_mapping         .. absolute mapping distance
%     .startpoint       .. start point of the vector in mm
%     .steps            .. number of grid steps
%     .end