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: process_add_tag.m
    path of file: ./repos/brainstorm3/toolbox/process/functions
    
    the code of the file until where you have to start completion: function varargout = process_add_tag( varargin )

    
function sProcess = GetDescription() %#ok<DEFNU>
    % Description the process
    sProcess.Comment     = 'Add tag';
    sProcess.Category    = 'Custom';
    sProcess.SubGroup    = 'File';
    sProcess.Index       = 1021;
    sProcess.Description = 'https://neuroimage.usc.edu/brainstorm/SelectFiles#How_to_control_the_output_file_names';
    % Definition of the input accepted by this process
    sProcess.InputTypes  = {'data', 'results', 'timefreq', 'matrix', 'raw', 'pdata', 'presults', 'ptimefreq', 'pmatrix'};
    sProcess.OutputTypes = {'data', 'results', 'timefreq', 'matrix', 'raw', 'pdata', 'presults', 'ptimefreq', 'pmatrix'};
    sProcess.nInputs     = 1;
    sProcess.nMinFiles   = 1;
    % Definition of the options
    % === TARGET
    sProcess.options.tag.Comment = 'Tag to add:';
    sProcess.options.tag.Type    = 'text';
    sProcess.options.tag.Value   = '';
    % === FILENAME / COMMENT
    sProcess.options.output.Comment = {'Add to file name', 'Add to file path', 'Add to file name and file path'; ...
                                       'name', 'path', 'name_path'};
    sProcess.options.output.Type    = 'radio_label';
    sProcess.options.output.Value   = 'name';
    % === WARNING
    sProcess.options.label_warning.Comment    = '&nbsp;<FONT color=#7F7F7F>Warning: Tags cannot contain square brackets.</FONT>';
    sProcess.options.label_warning.Type       = 'label';
    % === WARNING
    sProcess.options.label_warning2.Comment   = '&nbsp;<FONT color=#7F7F7F>Warning: Tags cannot be added to file path if there are depend