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: pspm_sf_auc.m
    path of file: ./repos/PsPM/src
    
    the code of the file until where you have to start completion: function varargout = pspm_sf_auc(model, options)
% ● Description
%   pspm_sf_auc returns the integral/area under the curve of an SCR time series
% ● Format
%   auc = pspm_sf_auc(scr, sr, options)
% ● Arguments
%       scr:
%        sr:
%   options:
% ● Outputs
%       auc:
% ● Reference
%   Bach DR, Friston KJ, Dolan RJ (2010). Analytic measures for the
%   quantification of arousal from spontanaeous skin conductance
%   fluctuations. International Journal of Psychophysiology, 76, 52-55.
% ● History
%   Introduced In PsPM 3.0

    
function varargout = pspm_sf_auc(model, options)
% ● Description
%   pspm_sf_auc returns the integral/area under the curve of an SCR time series
% ● Format
%   auc = pspm_sf_auc(scr, sr, options)
% ● Arguments
%       scr:
%        sr:
%   options:
% ● Outputs
%       auc:
% ● Reference
%   Bach DR, Friston KJ, Dolan RJ (2010). Analytic measures for the
%   quantification of arousal from spontanaeous skin conductance
%   fluctuations. International Journal of Psychophysiology, 76, 52-55.
% ● History
%   Introduced In PsPM 3.0
%   Written in 2008-2015 by Dominik R Bach (Wellcome Trust Centre for Neuroimaging)
%   Maintained in 2022 by Teddy Chao (UCL)

%% initialise
global settings
if isempty(settings)
  pspm_init;
end