How to get sldvData of a model from command line

조회 수: 1 (최근 30일)
Hanif Ahmed
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.

채택된 답변

Gaganjyoti Baishya
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개)

카테고리

Help CenterFile Exchange에서 Generate Tests에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by