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_wdq.m
    path of file: ./repos/PsPM/src
    
    the code of the file until where you have to start completion: function [sts, import, sourceinfo] = pspm_get_wdq(datafile, import)
% ● Description
%   pspm_get_wdq is the main function for import of Dataq/Windaq files
% ● Format
%   [sts, import, sourceinfo] = pspm_get_wdq(datafile, import);
% ● Arguments
%     datafile:
%       import:
% ● Outputs

    
function [sts, import, sourceinfo] = pspm_get_wdq(datafile, import)
% ● Description
%   pspm_get_wdq is the main function for import of Dataq/Windaq files
% ● Format
%   [sts, import, sourceinfo] = pspm_get_wdq(datafile, import);
% ● Arguments
%     datafile:
%       import:
% ● Outputs
%          sts:
%       import:
%   sourceinfo:
% ● Developer's Notes
%   this function uses the conversion routine ReadDataq.m provided by Dataq
%   developers. ActiveX control elements provided in the file activex.exe
%   provided by Dataq must be installed, too.
% ● 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