function removeIntrinsicMacros(h,names)

% Copyright 2014-2020 The MathWorks, Inc.

narginchk( 2, 2 );
names = convertStringsToChars(names);

if ischar( names )
names = { names };
end
if ~iscell( names ) %% ~iscellstr(value)
error( message( 'coder_compile:toolchain:MacroInputNotACellArray' ) )
end
names = h.extractIntrinsicMacros( names );
for j = 1:numel( names )
h.Macros.remove( names{ j } );
end
end