MATLAB: How to get sldvData of a model from command line

sldv

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.

Best Answer

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