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: test_tutorial_clusterpermutationtimelock.m
    path of file: ./repos/fieldtrip/test
    
    the code of the file until where you have to start completion: function test_tutorial_clusterpermutationtimelock(dataset, datadir)

% MEM 1gb
% WALLTIME 00:10:00
% DEPENDENCY ft_timelockanalysis ft_multiplotER ft_singleplotER ft_timelockstatistics ft_topoplotER ft_clusterplot ft_megplanar ft_combineplanar
% DATA public

    
function test_tutorial_clusterpermutationtimelock(dataset, datadir)

% MEM 1gb
% WALLTIME 00:10:00
% DEPENDENCY ft_timelockanalysis ft_multiplotER ft_singleplotER ft_timelockstatistics ft_topoplotER ft_clusterplot ft_megplanar ft_combineplanar
% DATA public

if nargin<1 || isempty(dataset)
  dataset = dccnpath('/home/common/matlab/fieldtrip/data/ftp/test/ctf/Subject01.ds');
end