%#codegen
% Float2Fixed wrapper for function 'repmat'
function B = repmatx(A, varargin)
    coder.inline('always');
    if numel(varargin) == 1 % dimension vector
        B = repmat(A, fi_toint(varargin{1}));
    else
        B = repmat(A, f2f_size_vector(varargin{:}));
    end    
end
