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: ica_fuse_check_char.m
    path of file: ./repos/fit/FITv2.0e/ica_fuse/ica_fuse_utilities
    
    the code of the file until where you have to start completion: function [varOut] = ica_fuse_check_char(currentVar)
% check whether the variable is a valid character or not
% If it is not a valid character for naming files then return empty

FindChar = find(currentVar == '/' | currentVar == '\' | currentVar == ':' ...
    | currentVar == '*' | currentVar == '?' | currentVar == '"' ...
    | currentVar == '<' | currentVar == '>');

if isempty(FindChar)

    
function [varOut] = ica_fuse_check_char(currentVar)
% check whether the variable is a valid character or not
% If it is not a valid character for naming files then return empty

FindChar = find(currentVar == '/' | currentVar == '\' | currentVar == ':' ...
    | currentVar == '*' | currentVar == '?' | currentVar == '"' ...
    | currentVar == '<' | currentVar == '>');

if isempty(FindChar)
    varOut = currentVar;
else
    varOut = [];
end