function hh = getHardwareImplementationHelper()
%
    
%   Copyright 2018-2020 The MathWorks, Inc.

    % Make sure the target registry is loaded and ensure
    % the rtwTargetInfo functions for HWDevice entries
    % scripts have been run.
    targetRegistry = RTW.TargetRegistry.get();
    refreshHwDevice(targetRegistry);

    tr = targetrepository.create();
    hh = targetrepository.helpers.HardwareImplementation(tr);
end
