classdef (Sealed) matlabRelease
%matlabRelease returns the current MATLAB release information.
%
%   matlabRelease displays the MATLAB release information.
%   R = matlabRelease returns a class with the MATLAB release information.
%
%   Properties:
%     Release - Release name
%     Stage   - Stage, either prerelease or release.
%     Update  - Update number
%     Date    - Date of the release
%
%   See also isMATLABReleaseOlderThan

%   Copyright 2019 The MathWorks, Inc.

    properties (Constant)
        Release = matlab.internal.matlabRelease.release;
        Stage   = matlab.internal.matlabRelease.stage;
        Update  = matlab.internal.matlabRelease.update;
        Date    = datetime(matlab.internal.matlabRelease.date,'InputFormat','yyyy-MM-dd');
    end
end
