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: compile.m
    path of file: ./repos/CBIG/external_packages/matlab/default_packages/matlab_bgl/private
    
    the code of the file until where you have to start completion: function compile(varargin)
%% History
%  2008-04-01: Added check for pre Matlab 2006b for non-large dim 
%              sparse matrices.
%%

debug = 0; if strmatch('-debug',varargin), debug=1; end
verbose = 0; if strmatch('-verbose',varargin), verbose=1; end
clear mex

mbglfiles = {'astar_search_mex.c', 'bfs_mex.c', 'dfs_mex.c', 'biconnected_components_mex.c', ...
         'components_mex.c', 'matlab_bgl_sp_mex.c', ...
         'matlab_bgl_all_sp_mex.c', ...
         'mst_mex.c', 'clustering_coefficients_mex.c', ...
         'betweenness_centrality_mex.c', ...
         'max_flow_mex.c', ...
         'bfs_dfs_vis_mex.c', ...
         'topological_order_mex.c', ...
         'matching_mex.c', ...
         'core_numbers_mex.c', ...
         'dominator_tree_mex.c', ...
         'test_matching_mex.c', ...
         'path_from_pred_mex.c', ...
         'kamada_kawai_spring_layout_mex.c', ...
         'fruchterman_reingold_mex.c', ...
         'gursoy_atun_mex.c', ...
         'planar_test_mex.c', 'planar_edges_mex.c', 'planar_drawing_mex.c'};
     
c = computer;

large_arrays = 0;
solaris = 0;
mac = 0;


    
function compile(varargin)
%% History
%  2008-04-01: Added check for pre Matlab 2006b for non-large dim 
%              sparse matrices.
%%

debug = 0; if strmatch('-debug',varargin), debug=1; end
verbose = 0; if strmatch('-verbose',varargin), verbose=1; end
clear mex

mbglfiles = {'astar_search_mex.c', 'bfs_mex.c', 'dfs_mex.c', 'biconnected_components_mex.c', ...
         'components_mex.c', 'matlab_bgl_sp_mex.c', ...
         'matlab_bgl_all_sp_mex.c', ...
         'mst_mex.c', 'clustering_coefficients_mex.c', ...
         'betweenness_centrality_mex.c', ...
         'max_flow_mex.c', ...
         'bfs_dfs_vis_mex.c', ...
         'topological_order_mex.c', ...
         'matching_mex.c', ...
         'core_numbers_mex.c', ...
         'dominator_tree_mex.c', ...
         'test_matching_mex.c', ...
         'path_from_pred_mex.c', ...
         'kamada_kawai_spring_layout_mex.c', ...
         'fruchterman_reingold_mex.c', ...
         'gursoy_atun_mex.c', ...
         'planar_test_mex.c', 'planar_edges_mex.c', 'planar_drawing_mex.c'};
     
c = computer;

large_arrays = 0;
solaris = 0;
mac = 0;

switch (computer)
    case 'PCWIN'
        libname = 'mbgl-pcwin32';
    case 'GLNX86'
        libname = 'mbgl-linux-32';
    case 'MAC'
        libname = 'mbgl-macosx-ppc-32';
    case 'MACI'
        libname = 'mbgl-macosx-intel-32';
    case 'SOL2'
        solaris = 1;
        error('Not currently supported...\n');
    case 'PCWIN64'
        libname = 'mbgl-pcwin64-large';
        large_arrays = 1;
    case 'SOL64'
        solaris = 1;
        error('Not currently supported...\n');
    case 'GLNXA64'
        % R2006b is matlab 7.3
        vparts=sscanf(version,'%d.%d.%d%s');
        if vparts(1)<=7 && vparts(2)<3, 
            libname = 'mbgl-linux-64';
            large_arrays = 0;
        else
            libname = 'mbgl-linux-64-large';
            large_arrays = 1;
        end