How to get sldvData of a model from command line
3 次查看(过去 30 天)
显示 更早的评论
I am trying to get the struct file of sldvData but unable to do it through command line.
Is there any way of getting it? Generating tests from the model and waiting for files takes a lot of time.
0 个评论
采纳的回答
Gaganjyoti Baishya
2020-6-24
sldvrun might be the thing you are looking for:
opts = sldvoptions;
opts.Mode = 'TestGeneration';
opts.ModelCoverageObjectives = 'MCDC';
opts.SaveHarnessModel = 'off';
opts.SaveReport = 'on';
[ status, files ] = sldvrun(gcs, opts);
load(files.DataFile)
open sldvData
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Generate Tests 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!