function linuxRuntimeManager()
% LINUXRUNTIMEMANAGER Opens the Linux Runtime Manager App of the
% Embedded Coder Support Package For Linux Applications

% Copyright 2023 The MathWorks, Inc.

try
    fullpathToUtility = which('linux.RuntimeManager.open');
    % Check if the support package is installed
    if isempty(fullpathToUtility)
        % Support package not installed
        error(message('MATLAB:hwstubs:general:spkgNotInstalled',...
            getString(message('posix:supportPackageInstaller:supportPackageName')),...
            'ECLINUX'));
    else
        % Launch the app if support package is installed
        linux.RuntimeManager.open();
    end
catch e
    throwAsCaller(e);
end
