function setCompilerOptionMap(h,std,opts)

%   Copyright 2016-2020 The MathWorks, Inc.

if ismember(std, {'C89/C90 (ANSI)', 'C99 (ISO)', 'GNU C99 extensions', 'C++03 (ISO)', 'C++11 (ISO)', '*'})
    h.SupportedStandard.langStandardMaps.OptionMap(std) = opts;
else
    DAStudio.error('coder_compile:toolchain:InvalidMapKey', std);
end
