Deprecated: Function create_function() is deprecated in /home/c00p/www/lib/geshi/geshi.php on line 4698
function [ filePath, file ] = getFile( file )
%--------------------------------------------------------------------------
% Returns the path, name, and extension of a file
%
% Cooper Baker - 2014
%--------------------------------------------------------------------------

[ filePath, fileName, fileExt ] = fileparts( which( file ) );

filePath = sprintf( '%s/', filePath );

% EOF