function isLCC = getIsUsingLCC
%

% Copyright 2023 The MathWorks, Inc.

isLCC = false;
if ~isempty(bdroot)
currentToolchain = get_param(bdroot,'Toolchain');
if strcmp(currentToolchain,coder.make.internal.getInfo('default-toolchain'))
defaultCompInfo = coder.internal.DefaultCompInfo.createDefaultCompInfo;
currentToolchain = defaultCompInfo.DefaultMexCompilerKey;
end
if strncmp(currentToolchain, 'LCC', length('LCC'))
isLCC = true;
end
end
end

% LocalWords: toolchain