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: bspm_roi_ostt.m
    path of file: ./repos/bspm/roi
    
    the code of the file until where you have to start completion: function varargout = bspm_roi_ostt(level1dirs, roifiles, conidx, varargin)
% BSPM_ROI_OSTT Test level 1 contrasts
%
%  USAGE: bspm_roi_ostt(level1dirs, roifiles, conidx, varargin)
% ________________________________________________________________________________________
%  INPUTS
%	level1dirs:  
%	roifiles:  
%	conidx:  
%

% ----------------------------- Copyright (C) 2016 Bob Spunt -----------------------------
%	Created:  2016-05-16
%	Email:     spunt@caltech.edu

    
function varargout = bspm_roi_ostt(level1dirs, roifiles, conidx, varargin)
% BSPM_ROI_OSTT Test level 1 contrasts
%
%  USAGE: bspm_roi_ostt(level1dirs, roifiles, conidx, varargin)
% ________________________________________________________________________________________
%  INPUTS
%	level1dirs:  
%	roifiles:  
%	conidx:  
%

% ----------------------------- Copyright (C) 2016 Bob Spunt -----------------------------
%	Created:  2016-05-16
%	Email:     spunt@caltech.edu
% ________________________________________________________________________________________
def = { ...
'contrasts',            []                      , ...
'rmsuboutlier',         0                       , ...
'roinames',             ''                      , ...
'dofdr',                1                       , ...
'condirpat',            ''                      , ...
'tag',                  ''                      , ...
'savetable',            1                       , ...
'conpat',               'con*nii*'              , ...
'templatefile'          ''  ...
	};
vals = setargs(def, varargin);
if nargin < 3, mfile_showhelp; fprintf('\t| - VARARGIN DEFAULTS - |\n'); disp(vals); return; end