www.gusucode.com > sldv工具箱matlab源码程序 > sldv/sldv/+Sldv/@CvApi/getDecision.m

    function objId = getDecision(slsfCvId, idx)
objId = 0;
idx  = idx + 1;
array = cv('MetricGet',slsfCvId, Sldv.CvApi.getMetricVal('decision'),'.baseObjs');
% it should not happen, but there are some check nodes not mapped to
% coverage object, returning zero objId is used to filter them
if idx <= numel(array)
    objId = array(idx);
end