%#codegen
% Float2Fixed wrapper for function 'reshape'
function Y = reshapex(X, varargin)
    coder.inline('always');
    if numel(varargin) == 1 % dimension vector
        Y = reshape(X, fi_toint(varargin{1}));
    else
        Y = reshape(X, f2f_size_vector(varargin{:}));
    end    
end
