How to get sldvData of a model from command line
1 回表示 (過去 30 日間)
古いコメントを表示
Hanif Ahmed
2020 年 6 月 24 日
回答済み: Gaganjyoti Baishya
2020 年 6 月 24 日
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!