function x = cummax(x,varargin)
%MATLAB Code Generation Library Function

%   Copyright 2002-2016 The MathWorks, Inc.
%#codegen

coder.inline('always');
narginchk(1,inf);
coder.internal.prefer_const(varargin);
x = cumop('cummax',x,varargin{:});
