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: ipctb_ica_errorCheck.m
    path of file: ./repos/bspm/thirdparty/MIALAB/gipc1d/ipctb_ica
    
    the code of the file until where you have to start completion: function [status, message] = ipctb_ica_errorCheck(varIn, varCriteria, varName)

    
function [status, message] = ipctb_ica_errorCheck(varIn, varCriteria, varName)
% do error check for the variable with the mentioned criteria and
% return status and message.
%
% status 1 means error check went well
% status 0 means error occurred and see message variable for that

status = 1; message = '';

if isempty(varIn)
    varIn = '';
end