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: Fcolorerror.m
    path of file: ./repos/erplab/functions
    
    the code of the file until where you have to start completion: % PURPOSE: sets ERPLAB's error windows Foreground Color
%
%
% *** This function is part of ERPLAB T
    
function is part of ERPLAB Toolbox ***
% Author: Javier Lopez-Calderon
% Center for Mind and Brain
% University of California, Davis,
% Davis, CA
% 2011

function Fcolorerror(c)
if nargin<1
        c = uisetcolor([0 0 0],'Error window foreground color') ;
end