function a = addmatrix(a1, a2)
%ADDMATRIX Add two matrices
%    This function adds the two matrices passed as input. This function is
%    used to demonstrate the functionality of MATLAB Compiler SDK. Refer to the
%    documentation for MATLAB Compiler SDK C/C++ shared library for more information.

% Copyright 2003-2018 The MathWorks, Inc.

a = a1 + a2;