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: aa_example_crawler.m
    path of file: ./repos/automaticanalysis/aa_tools/utilities
    
    the code of the file until where you have to start completion: function aa_example_crawler(keyword)

    
function aa_example_crawler(keyword)

% this function will crawl $AAHOME/example and echo the header 
% block of all mfiles to the command window. Optionally, only the
% mfiles containing the search string "keyword" will be displayed

if ~exist('keyword','var') || isempty(keyword)
    keyword = '';
end

% get a list of aa example scripts

[ aaInstallDir,~,~ ] = fileparts(which('aa_ver5'));

exampledir = fullfile(aaInstallDir,'examples');
command = sprintf('find %s -name \\*.m', exampledir);

[ status,script_list ] = system(command);

if (status || ~numel(script_list))
	error('script list generation failed');
end