function setTargetProvidesMain(h, targetProvidesMain)
%SETTARGETPROVIDESMAIN

%   Copyright 2014-2019 The MathWorks, Inc.

% set the property
h.Settings.TargetProvidesMain = targetProvidesMain;
