Misol:
opts = sldvoptions;
opts.Mode = 'Test Generation' ;
opts.ModelCoverageObjectives = 'ConditionDecision' ;
opts.SaveHarnessModel = 'off' ;
opts.SaveReport = 'off' ;
opts.SFcnSupport = "yoqilgan" ;
[holat, fayl nomlari] = sldvrun( 'sldvexSFunctionHandlingExample' , tanlagan , rost);
sldvruntestFunktsiya dalolat test suite to'liq model qamrab erishadi, deb. cvhtmlFunktsiya 100% Ahvoli bildiradi va qaror qamrov hosil sinov vektor bilan erishiladi bir qamrov hisobot ishlab chiqaradi.
[~, finalCov] = sldvruntest( 'sldvexSFunctionHandlingExample' , fileNames.DataFile, [], rost);
cvhtml( 'Yakuniy qamrov' , finalCov);
Namoyishni yakunlash uchun barcha modellarni yoping.
close_system( 'sldvexSFunctionHandlingExample' , 0);
Foydalanilgan adabiyotlar
https://www.mathworks.com/help/matlab/interpolation.html
https://www.mathworks.com/help/sldv/component-selection-for-analysis.html?s_tid=CRUX_topnav
Do'stlaringiz bilan baham: |