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: horzcat.m
    path of file: ./repos/YALMIP/extras/@constraint
    
    the code of the file until where you have to start completion: function F = horzcat(varargin)

F = [];
for i=1:1:nargin
    if isa(varargin{i},'double') & ~isempty(varargin{i})
        warning('One of the constraints evaluates to a DOUBLE variable');
    elseif isa(varargin{i},'logical')

    
function F = horzcat(varargin)

F = [];
for i=1:1:nargin
    if isa(varargin{i},'double') & ~isempty(varargin{i})
        warning('One of the constraints evaluates to a DOUBLE variable');
    elseif isa(varargin{i},'logical')
        if all(varargin{i}==1)
            % warning('One of the constraints evaluates to a LOGICAL variable');
        else
            error('One of the constraints evaluates to a FALSE LOGICAL variable. Your model is infeasible');
        end