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_eeg_review_uis.m
    path of file: ./repos/malini/Codes/deconvolution - model/spm8
    
    the code of the file until where you have to start completion: function [D] = spm_eeg_review_uis(D,objects)
% GUI of the M/EEG Review facility
%__________________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging

% Jean Daunizeau
% $Id: spm_eeg_review_uis.m 4310 2011-04-18 16:07:35Z guillaume $

% POS = get(D.PSD.handles.hfig,'position');

switch objects.type


    case 'buttons'

        load spm_eeg_review_buttons.mat

        if ismember(1,objects.list) % save/prep button
            D.PSD.handles.BUTTONS.pop1 = uicontrol(D.PSD.handles.hfig,...
                'units','normalized',...
                'Position',[0.89 0.975 0.1 0.02],...
                'style','pushbutton',...
                'string','SAVE',...
                'callback','spm_eeg_review_callbacks(''file'',''save'')',...
                'tooltipstring','Overwrite SPM data file',...
                'BusyAction','cancel',...
                'Interruptible','off');

    
function [D] = spm_eeg_review_uis(D,objects)
% GUI of the M/EEG Review facility
%__________________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging

% Jean Daunizeau
% $Id: spm_eeg_review_uis.m 4310 2011-04-18 16:07:35Z guillaume $

% POS = get(D.PSD.handles.hfig,'position');

switch objects.type


    case 'buttons'

        load spm_eeg_review_buttons.mat

        if ismember(1,objects.list) % save/prep button
            D.PSD.handles.BUTTONS.pop1 = uicontrol(D.PSD.handles.hfig,...
                'units','normalized',...
                'Position',[0.89 0.975 0.1 0.02],...
                'style','pushbutton',...
                'string','SAVE',...
                'callback','spm_eeg_review_callbacks(''file'',''save'')',...
                'tooltipstring','Overwrite SPM data file',...
                'BusyAction','cancel',...
                'Interruptible','off');
            D.PSD.handles.BUTTONS.prep = uicontrol(D.PSD.handles.hfig,...
                'units','normalized',...
                'Position',[0.7 0.975 0.18 0.02],...
                'style','pushbutton','string','Prepare SPM file',...
                'callback','spm_eeg_review_callbacks(''edit'',''prep'')',...
                'tooltipstring','Prepare SPM data file (use SPM input figure)',...
                'enable','on',...
                'BusyAction','cancel',...
                'Interruptible','off');
        end