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: install_mtex.m
    path of file: ./repos/mtex
    
    the code of the file until where you have to start completion: function install_mtex
% install mtex for future sessions

    
function install_mtex
% install mtex for future sessions

% get search path
cellpath = regexp(path,['(.*?)\' pathsep],'tokens');
cellpath = [cellpath{:}];

% get local path
local_path = fileparts(mfilename('fullpath'));

% check wether local_path is in search path
if ~any(strcmpi(local_path,cellpath))
  startup_mtex('noMenu')
end