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_get_scr.m
    path of file: ./repos/PsPM/src
    
    the code of the file until where you have to start completion: function [sts, data] = pspm_get_scr(import)
% ● Description
%   pspm_get_scr is a common function for importing scr data
% ● Format
%   [sts, data] = pspm_get_scr(import)
% ● Arguments
%     import:  import job structure with mandatory fields
%         .sr:
%       .data:
%   .transfer:  transfer parameters, either a struct with fields .Rs, .c,
%               .offset, .recsys, or a file containing variables 'Rs' 'c',
%               'offset', 'recsys'.
% ● History
%   Introduced in PsPM 3.0
%   Written in 2008-2015 by Dominik R Bach (Wellcome Trust Centre for Neuroimaging)

    
function [sts, data] = pspm_get_scr(import)
% ● Description
%   pspm_get_scr is a common function for importing scr data
% ● Format
%   [sts, data] = pspm_get_scr(import)
% ● Arguments
%     import:  import job structure with mandatory fields
%         .sr:
%       .data:
%   .transfer:  transfer parameters, either a struct with fields .Rs, .c,
%               .offset, .recsys, or a file containing variables 'Rs' 'c',
%               'offset', 'recsys'.
% ● 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