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: spm_beamforming.m
    path of file: ./repos/spm/toolbox/DAiSS
    
    the code of the file until where you have to start completion: function spm_beamforming

    
function spm_beamforming
% GUI gateway to Beamforming toolbox
%__________________________________________________________________________

% Vladimir Litvak
% Copyright (C) 2012-2023 Wellcome Centre for Human Neuroimaging


pipelines = spm_select('List', fileparts(mfilename('fullpath')), '^bf_pipeline_.*\.m$');
pipelines = cellstr(pipelines);
pipelines = [cell(length(pipelines), 1), pipelines(:)];
for i = 1:size(pipelines, 1)
    [~, pipelines{i, 2}] = fileparts(pipelines{i, 2});
    pipelines{i, 1} = strrep(pipelines{i, 2}, 'bf_pipeline_', '');
    pipelines{i, 1} = strrep(pipelines{i, 1}, '_', ' ');
end