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: ciftiopen.m
    path of file: ./repos/CBIG/external_packages/matlab/default_packages/WashU_gradients
    
    the code of the file until where you have to start completion: function [ cifti ] = ciftiopen(filename,wbcommand,verbose)

% CIFTI = CIFTIOPEN(FILENAME,WBCOMMAND,VERBOSE)
%
% Open a CIFTI file by converting to GIFTI external binary first and then

    
function [ cifti ] = ciftiopen(filename,wbcommand,verbose)

% CIFTI = CIFTIOPEN(FILENAME,WBCOMMAND,VERBOSE)
%
% Open a CIFTI file by converting to GIFTI external binary first and then
% using the GIFTI toolbox
%
% FILENAME is string containing file name to open
% WBCOMMAND is string containing the Workbench command.  
%   (Necessary for the intermediate step of conversion to gifti.
%    Matlab must be able to find this when it executes a 'system' command).
% VERBOSE (optional; default is off): Set to 1 for more verbose output.

% MPH: Modified to use a temporary file location suitable
% for that OS; added an explicit verbose flag; switched to
% using matlabs 'delete' command for file removal and 'system'
% command for executing 'wbcommand'.

% Default is VERBOSE=0 (OFF)
if (nargin < 3) 
  verbose = 0;
end